PDA

View Full Version : problems with glGetFloatv(...)



helda
01-28-2003, 02:14 AM
Hello guys,

i have a problem with glGetFloatv. I want to read the MODEL_VIEW MATRIX with the following comands

GLfloat modelview[16];
glGetFloatv(GL_MODELVIEW_MATRIX,modelview);

but at all position of the matrix ist the nasty value

-1.0737418e+008

what the hell is wrong?

Thank you for reply

helda

bakery2k
01-28-2003, 02:41 AM
Do you create a rendering context before this call?

helda
01-28-2003, 03:07 AM
Yes i think so, this comands are in my Display function.

helda