GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
glutSolidTeapot(3GLUT) GLUT glutSolidTeapot(3GLUT)

glutSolidTeapot, glutWireTeapot - render a solid or wireframe teapot respectively.

void glutSolidTeapot(GLdouble size);
void glutWireTeapot(GLdouble size);

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:

  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).

glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidTorus, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron

Mark J. Kilgard (mjk@nvidia.com)
3.7 GLUT

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.