How to draw a texture mapped teapot with automatically generated texture coordinates

User Rating: / 9PoorBest

This program draws a texture mapped teapot with automatically generated texture coordinates. The texture is rendered as stripes on the teapot. The example is ported from C examples in the OpenGL Programming Guide (known as the "red book").