From Kevin Wafer · 1996-04-03 17:42 · #69231 in DRIVING
Hi all, I've got a little prob I hope someone can help me with. Theres a free subscription or two to my 4 node bbs (TFR 0181 2874190) to whoever can help me out. Im doing a little 3D engine for fun, ive got my poly filler, rotation, surface normals, hidden plane removal and eveyrthing else sorted. But I have been stuck on camera rotation for about 4 days, and can't see to suss it out. :( All I know is that camera rotation isn't the same as object rotation. Do I have to put in an extra rotation in there, i.e. I'm doing rotation around X,Y and Z for the object matrix and camera matrix, in Z,X,Y order Do I need another rotation or something for the camera matrix? Because for example when I roll the camera the screen/objects roll glob when I pitch they pitch, but when both together they swap and pitch becomes roll etc. I can't find any decent docs on camera rotation only object rotation. Any tips would be helpfull and Ill give a subscription or two to my BBS (worth 25 quid) to anyone who gives me a reasonable solution. cheers --- WILDMAIL!/WC v4.12 * Origin: Wall Street - Stocks'n'Shares - (2:2502/1000.0)