Slimelite BBS

3d rotations

Back to X_FILES

From Kevin Wafer · 1996-04-09 09:31 · #77543 in X_FILES

-> -=> Quoting Kevin Wafer to All <=-
->
-> Hi Kevin,
->
-> This probably isn't the right place, but...
->
-> KW> Im doing a little 3D engine for fun, ive got my poly filler,
-> KW> rotation, surface normals, hidden plane removal and eveyrthing
-> else KW> sorted. But I have been stuck on camera rotation for about
-> 4 days, and KW> can't seem to suss it out. :(
->
-> KW> All I know is that camera rotation isn't the same as object rotat
-> AFAIK, you don't move the camera around the world, you move the world
-> around the camera. Rolling the camera clockwise is equivalent to roll
-> the objects anti-clockwise (about an axis that runs through the
-> camera, of course). The on-screen results are exactly the same.
->
-> |)/\\/||)
->
-> ... The generation of random numbers is too important to be left to
-> chance --- GEcho/32 1.20/Pro
Hi, yep i know that. the prob is the rotation matrix. if you do the
rotations in reverse from the object rotations it doest work. well it
does if youre just working on one axis at a time. say yaw. but when you
use yaw and pitch, when yaw is 180 degress Pitch becomes Roll .
hope that makes sence to you :)
cheers

--- WILDMAIL!/WC v4.12 
 * Origin: Wall Street - Stocks'n'Shares -  (2:2502/1000.0)