I can't seem to find out how to get the current matrix from opengl. I want to multiply a point by this matrix. Does anyone know how I can do this?
I can't seem to find out how to get the current matrix from opengl. I want to multiply a point by this matrix. Does anyone know how I can do this?
P4 2Ghz, GEFORCE4, 512 Meg RAM, WIN2000, VStudio 6.0
GLfloat matrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX,matrix);
hope that helps...