Path: chuka.playstation.co.uk!news From: Robert Swan Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: What is a normal? Date: Fri, 14 Aug 1998 14:04:23 +0100 Organization: I wish! Lines: 27 Message-ID: <35D435D7.3A82@mdx.ac.uk> References: <35D3F965.D5D79825@nospam.easynet.co.uk> <35D402A6.8830674@parny.force9.co.uk> <01bdc76a$e03e9320$230b0a0a@Angela1.intelligent-group.com> <35D42CF4.A08257E5@ndirect.co.uk> <35D43084.7E98EFAA@nospam.easynet.co.uk> <35D4306C.F7A1B5AF@ndirect.co.uk> NNTP-Posting-Host: nova.mdx.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5 sun4u) Alex Herbert wrote: > > normals are stored in the TMD. Yes they should be normalised to ONE (4096). You > don't need to get hold of them unless you are greating/modifyinf TMDs dynaically. > Check out the File Formats PDF on this site. Ignore the TMD file format HTMD doc > 'cos its precisely cos you need to calculate the normals yourself when creating tmds dynamically that I er, dont include those primitive types :) seeing as I only ever wanted primitives without light calculations that suits me fine, but after gduk + ects I will 'finally' finish the tmd routine Ive got. It supports every primitive which doesnt use light calcs (at least my private one does) which I use in my gduk entry. Each section of ground is made of 4 triangles with different colours at each vertex which are smoothed together. Incidentally, for those interested, you can alter the colour schemes and heights of each of levels in my demo. All you need to do is load the raw files into a paint package (such as paint shop pro), both the colour raw files and height raw files should be 21x21 pixels in size, no header, with the height raw files in grayscale (256 shades) and the colour raw files in 24 bit colour (lotsa shades). If you edit them, save them in the same format then rerun my demo, voila, instantly altered maps! dare anyone to try it! Robert Swan rs108@mdx.ac.uk http://www.netyaroze-europe.com/~middex2/ftp/gduk1.zip