Getting vertices out of glut-objects ?

Does anybody know how to retrieve vertices out of glut-geometry-objects (for example the famous glutSolidTeapot) . Is it possible at all ?

Thanks,

Edo

Originally posted by edotorpedo:
[b]Does anybody know how to retrieve vertices out of glut-geometry-objects (for example the famous glutSolidTeapot) . Is it possible at all ?

Thanks,

Edo[/b]

Yes, you can use OpenGL feedback to do this.

Alternately, you can download the GLUT source code. The teapot uses evaluators, unfortunately.

  • Matt