View Full Version : How to set GL_PROJECTION?

10-04-2010, 09:35 PM
Does anyone know how to set projection matrix GL_PROJECTION? I mean how do I use my own matrix as GL_PROJECTION? Thank you.

10-06-2010, 02:02 PM
Use glMatrixMode (GL_PROJECTION), then use glLoadMatrixf to upload your own matrix to GL.
Remeber to set the matrixmode back to GL_MODELVIEW when done.