WHAT ARE, AND FOR WHAT USE

THE MATRIX GL_PROJECTION

AND THE MATRIX MODELVIEW?

I DONT KNOW YOURS DIFFERENCE.

VERY THX

WHAT ARE, AND FOR WHAT USE

THE MATRIX GL_PROJECTION

AND THE MATRIX MODELVIEW?

I DONT KNOW YOURS DIFFERENCE.

VERY THX

GL_PROJECTION is to setup your projection to either ortho or perspective. GL_MODELVIEW is to setup your model.

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)