PDA

View Full Version : GlVertexPointer



Crownable
07-21-2012, 03:01 PM
glVertexPointer(3,GL_FLOAT,24,00000000)

I know the last arguement points to the first coordinate of the 1st vertex
But how will i be able to obtain that coordinate?

Thank you and please respond.

V-man
07-22-2012, 07:03 AM
Sounds like you want to know the vertex after transformation. You can read the theory here
http://www.opengl.org/wiki/Vertex_Transformation

and the function you can use us gluProject.