Jump to content

  • Log In with Google      Sign In   
  • Create Account

Newbie please help!!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Sidson   Members   -  Reputation: 122

Like
Likes
Like

Posted 20 August 2001 - 06:25 PM

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.

Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 20 August 2001 - 07:26 PM

check the red book or opengl spec for further details

float a[16];
glGetFloatv( GL_MODELVIEW_MATRIX, a );

#3 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 20 August 2001 - 07:27 PM

Use glGetFloatv with GL_TYPEOF_MATRIX.

[Resist Windows XP''s Invasive Production Activation Technology!]

#4 Sidson   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 August 2001 - 12:36 PM

Thanks a lot for all your help!





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS