PDA

View Full Version : Dont understand some basic function!!



quesxion
05-22-2004, 08:57 AM
glMatrixMode(GL_PROJECTION);
glLoadIdentity();

above statement is for what?? why need included GL_PROJECTION??

05-22-2004, 09:44 AM
There are 2 different matrices, one for projection and the other for modelview. Some transformations are better suited to the first, others are for the second. You can do a search on this forum, I think this question has been answered several times.