Manpage of glutSolidTeapot
Return to Main Contents
glutSolidTeapot, glutWireTeapot - render a solid or wireframe teapot respectively.
void glutSolidTeapot(GLdouble size);
void glutWireTeapot(GLdouble size);
Relative size of the teapot.
glutSolidTeapot and glutWireTeapot render a solid or wireframe
teapot respectively. Both surface normals and texture coordinates for the
teapot are generated. The teapot is generated with OpenGL evaluators.
The teapot is greatly over-tesselated; it renders way too slow.
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:
Both these bugs reflect issues in the original aux toolkit's
teapot rendering routines (GLUT used the same teapot rendering routine).
glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidTorus, glutSolidDodecahedron,
glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron
Mark J. Kilgard (email@example.com)
- SEE ALSO
This document was created by
using the manual pages.
Time: 13:00:49 GMT, March 25, 2001