glutSolidTeapot

render a solid or wireframe teapot respectively.

Signature

glutSolidTeapot( GLdouble( size ) )-> void
glutSolidTeapot( size )
glutSolidTeapot( GLdouble(size) ) -> None
glutWireTeapot( GLdouble( size ) )-> void
glutWireTeapot( size )
glutWireTeapot( GLdouble(size) ) -> None

Parameters

VariablesDescription
size
Relative size of the teapot.

See Also

glutSolidSphere glutSolidCube glutSolidCone glutSolidTorus glutSolidDodecahedron glutSolidOctahedron glutSolidTetrahedron glutSolidIcosahedron

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutSolidTeapot
OpenGLContext tests/shaders.py Lines: 34
OpenGLContext OpenGLContext/scenegraph/teapot.py Lines: 6, 34
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 6
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 187
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 91, 115
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 220
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 174
Glinter Widget.py Lines: 868
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 327
glutWireTeapot
OpenGLContext OpenGLContext/scenegraph/teapot.py Lines: 6, 32
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 6
Glinter Widget.py Lines: 866