View Full Version : Perspective Matrix

The Wolf
11-30-2000, 01:29 PM
Is the Perspective matrice set when the gluPerspective is called? does it remain the same the rest of the time if you are working with the MODELVIEW matrix? I am trying to minimize the amount of glGet* calls

Thanks http://www.opengl.org/discussion_boards/ubb/biggrin.gif

11-30-2000, 03:28 PM
The projection matrix is not set, but rather multiplied with the currently activated matrix stack. If you want to 'set' the projection matrix, you have to do the following:


And it will remain the same when working with the modelview matrix.

The Wolf
11-30-2000, 04:45 PM
Thanks http://www.opengl.org/discussion_boards/ubb/smile.gif, That answered my question