diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index 6009967..0184bb0 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -198,7 +198,8 @@ will thus not work with the currently available 2.8.1 release.
GLUT does not include these functions.
--The glutWireTeapot and glutSolidTeapot functions -draw a wireframe and solid teapot respectively. +The glutWireTeapot and glutSolidTeapot functions draw +a wireframe and solid teapot respectively, the glutWireTeacup +and glutSolidTeacup functions a wireframe and solid teacup, and +the glutWireTeaspoon and glutSolidTeaspoon functions a +wireframe and solid teaspoon.
Definition
-void glutWireTeapot (double dSize);
-void glutSolidTeapot(double dSize);
Arguments
-dSize The desired size of the teapot
+dSize The desired size of the teapot, teacup and +teaspoon - relative to a "standard" size
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].
+The glutWireTeapot and glutSolidTeapot functions +render a teapot of the desired size, centered at the origin. This is the +famous teapot created by Martin Newell. The other functions render the +teacup and teaspoon he used in the table scene figure in his PhD thesis. +Vertex data retrieved from: ftp://ftp.funet.fi/pub/sci/graphics/packages/objects/teasetorig.gz.
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:
+counter clockwise when projected into window space. This teapot, teacup +and teaspoon are rendered with their 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).
+Both these bugs reflect issues in the original teaset's vertex data +(and are thus present in GLUT too).
Changes From GLUT
-None that we know of.
+GLUT only has the teapot and misses the rest of the teaset.