Jump to content
  • Advertisement
Sign in to follow this  
gohacker82

GL transformation

This topic is 5204 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to ask some question, how can i get the vertex coordinate after using glTrasformation such -glrotatef -gltranslatef is there any function in openGl to get it? thanx for answers..

Share this post


Link to post
Share on other sites
Advertisement
As far as Im aware all opengl stuff like that is done on the card (Im not a big user of opengl so I may be wrong).

You could try rendering to a vertex buffer if you have a newer card though.

Share this post


Link to post
Share on other sites
You could create a transformation matrix based on your rotation and transformation and then use it to transform your vertices in memory. At least that's how I used to do it in DX.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
thanks..

it's a very good idea....

Thank you very much....

hahaha...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!