PDA

View Full Version : MATRIX'S



05-02-2000, 06:31 PM
WHAT ARE, AND FOR WHAT USE
THE MATRIX GL_PROJECTION
AND THE MATRIX MODELVIEW?

I DONT KNOW YOURS DIFFERENCE.
VERY THX

dmsy
05-02-2000, 07:02 PM
GL_PROJECTION is to setup your projection to either ortho or perspective. GL_MODELVIEW is to setup your model.

targe
01-15-2004, 02:05 PM
These are the 2 matrix stacks. A stack is usually used for building complex models from simple models.

glPushMatrix() pushes a copy of the current matrix onto the stack. You can then work on this - translate, rotate to your hearts content
and the call glPopMatrix() to return to where
you were. (usually the origin of the complex
model)