gnu.app.redbook
Class TextureTeapot

java.lang.Object
  extended by gnu.app.Application
      extended by gnu.x11.Application
          extended by gnu.x11.extension.glx.Application
              extended by gnu.app.redbook.TextureTeapot

public class TextureTeapot
extends Application

Texture map teapot. To demonstrate how to draw a texture mapped teapot with automatically generated texture coordinates. The texture is rendered as stripes on the teapot. Initially, the object is drawn with texture coordinates based upon the object coordinates of the vertex and distance from the plane x = 0. Modified from texgen.c.

See Also:
screenshot 4, help output

Field Summary
 
Fields inherited from class gnu.x11.Application
display
 
Constructor Summary
TextureTeapot(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextureTeapot

public TextureTeapot(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)