View Full Version : How can i get a vertex array..

07-31-2010, 12:55 AM
How can i get a vertex array of a geometry drawn with glutSolidTeapot(). I need a vertex list of teapot got from glutSolidTeapot() to compute a tangent space of each vertex from itself. Is it possible to get it with glGet* function? I can't find a numeric argument of glGet* representing vertex array of drawn geometry.

Rosario Leonardi
07-31-2010, 09:13 AM
No, glut is not part of openGL is an external library.
Also glut send vertex using immediate mode, so it's impossible to retrieve them.

07-31-2010, 09:38 AM
You could use transform feedback to get them.