what is the default setting of GL_PROJECTION matrix.
Lets say I set the matrix in my application like:
glViewport( 0, 0, (GLsizei)w, (GLsizei)h );
glMatrixMode( GL_PROJECTION );
glLoadIdentity();
glMatrixMode( GL_MODELVIEW );
and i donot make any call like glOrtho, glFrustum or gluLookAt
what will be the default values in the projection matrix?
I want a projection that does not have any perspective look. Just parallel display. How should I set up that matrix?
thanks in advance
projection matrix
Started by me_here_me, Jun 12 2007 05:47 PM
1 reply to this topic
#1
Posted 12 June 2007 - 05:47 PM
#2
Posted 12 June 2007 - 08:26 PM
The default projection matrix is the identity matrix.
To set up a parallel projection matrix, you can use glOrtho.
To set up a parallel projection matrix, you can use glOrtho.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












