Skip to main content
gamedev.net
🔒 Locked

Moving camera...

Started by microdot 0 replies 400+ views
Original Post
microdot
microdot
By my understanding, if I were to transform the projection matrix thusly,... glRotatef ( some_angle, 1.0f, 0.0f, 0.0f ); glTranslatef ( 0.0f, 0.0f, -1.0f ); ...I would have a camera still coplaner with the xy-plane, facing some_angle away from xy-plane, but if I did it so... glTranslatef ( 0.0f, 0.0f, -1.0f ); glRotatef ( some_angle, 1.0f, 0.0f, 0.0f ); ...I would have a camera 1 unit away from the origin and rotated off of the xy-plane by some angle. Is this correct or not?
<span class="smallfont">That is not dead which can eternal lieAnd with strange aeons even death may die.   -- "The Nameless City" - H. P. Lovecraft</span>

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.