View Full Version : How can i get a vertex array..
07-31-2010, 01: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.
07-31-2010, 10: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, 10:38 AM
You could use transform feedback to get them.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.