osx man page for glutsolidteapot

Query: glutsolidteapot

OS: osx

Section: 3glut

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

glutSolidTeapot(3GLUT)						       GLUT						    glutSolidTeapot(3GLUT)

NAME
glutSolidTeapot, glutWireTeapot - render a solid or wireframe teapot respectively.
SYNTAX
#include <GLUT/glut.h> void glutSolidTeapot(GLdouble size); void glutWireTeapot(GLdouble size);
ARGUMENTS
size Relative size of the teapot.
DESCRIPTION
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.
BUGS
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: 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).
SEE ALSO
glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidTorus, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSo- lidIcosahedron
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutSolidTeapot(3GLUT)
Related Man Pages
glfrontface(3g) - mojave
glutextensionsupported(3glut) - mojave
glfrontface(3g) - debian
glfrontface(3g) - suse
glutsolidteapot(3glut) - suse
Similar Topics in the Unix Linux Community
Unix file size - HP-UX
PSY PONG 3D 0.9 (Default branch)