Login  Register

Re: Viewing transformations cleared after glLoadMatrix

Posted by andys on Dec 13, 2010; 12:07pm
URL: https://forum.jogamp.org/Viewing-transformations-cleared-after-glLoadMatrix-tp2056651p2078259.html

The hint with  "changes the model-view matrix" made me thinking again about my fundamental understanding of glRotate and glTranslate. So i looked  up again the API spec from OpenGL 2.1 .... and there it says:

glRotate — multiply the current matrix by a rotation matrix
glTranslate — multiply the current matrix by a translation matrix

So even those fundamental commands do actually multiplications .... somehow i understand it a bit more now ....