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.
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.
You could use transform feedback to get them.