On Fri, Jun 30, 2006 at 04:50:41PM +0100, Alan B. Pearce wrote: > >Of course, it's over thirty since I did this stuff, but > >it flashed back to me. Hopefully correctly, but you > >never know! :-) As for the matrix calculations, you're > >on your own - I haven't done those since I was 11... > > and he I am 5 times as many years later attempting it ... > > The maths modelling course I am doing at the moment would suggest that doing > it in a matrix is probably the "best" way. Sounds like it. Doing the code to rotate x,y,z co-ordinates for the 3d-display part of the project was much easier once I fully understood how to manipulate matrixes to do it. Multiplying by matrixes is just so *nice* a way to do it. What's the maths modelling course you are doing? -- pete@petertodd.ca http://www.petertodd.ca -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist