From Keith Wait · 1996-04-02 23:28 · #69229 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 seem 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 globally, 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 --- * Origin: Virtual Maddness, 24Hrs, 2400-28800 (01344-422575) (2:252/314)