Newbie please help!!

Started by
2 comments, last by Sidson 22 years, 8 months ago
Hi all! I wanted to know if there is a way to retrieve the values from the current matrix on the matrix stack. I''ve looked everywhere but I can''t seem to find any method in OpenGL that might support this.
Advertisement
check the red book or opengl spec for further details

float a[16];
glGetFloatv( GL_MODELVIEW_MATRIX, a );
Use glGetFloatv with GL_TYPEOF_MATRIX.

[Resist Windows XP''s Invasive Production Activation Technology!]
Thanks a lot for all your help!

This topic is closed to new replies.

Advertisement