From c7016dc6489f6a61d7845179f550628c50fe2b34 Mon Sep 17 00:00:00 2001
From: dcnieho Description The glutWireTeapot and
- glutSolidTeapot functions render a teapot of the desired size, centered
-at the origin. This is the famous OpenGL teapot [add reference].
Bugs
+OpenGL's default glFrontFace state assumes that front facing +polygons (for the purpose of face culling) have vertices that wind +counter clockwise when projected into window space. This teapot is +rendered with its front facing polygon vertices winding clockwise. For +OpenGL's default back face culling to work, you should use:
+ + glFrontFace(GL_CW);
+ glutSolidTeapot(size);
+ glFrontFace(GL_CCW);
Both these bugs reflect issues in the original aux toolkit's teapot +rendering routines (GLUT used the same teapot rendering routine).
Changes From GLUT