GL transformation

Started by
6 comments, last by gohacker82 19 years, 8 months ago
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..
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.
thanx for the repply drazgal...

but is there any function in opengl to get it ?

thanx..
i not sure but maybe glGetFloatv with GL_MODELVIEW_MATRIX parameter...
Dolphins - The sharks of the sea.
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.
thanks..

it's a very good idea....

Thank you very much....

hahaha...
thanks..

it's a very good idea....

Thank you very much....

hahaha...
thanks..

it's a very good idea....

Thank you very much....

hahaha...

This topic is closed to new replies.

Advertisement