View Full Version : 2 questions
1.I need to explain the diffrences between
glprojection a glmodelview...
2. When i use translate or rotate, i move a scene or a camera or it does't matter?
02-12-2003, 04:02 PM
Can you please expound on the two questions. More information will be needed to answer your questions.
02-12-2003, 05:22 PM
Of course you are free to use the matrices however you please, but there may be consequences in lighting and fog calculations. I have always taken the projection matrix to characterise intrinsic camera properties(fov, near/far clip distances). I put the the results of glOrtho, glFrustum or gluPerspective in the projection matrix. The modelview matrix represents my camera position and orientation. So, my modelview matrix takes vertices from world to camera space, and the projection matrix takes vertices from camera space to clip coordinates.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.