gnu.app.redbook
Class NonRectangular

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

public class NonRectangular
extends Application

Mask non-rectangular region with stencil buffer. It draws two rotated tori in a window. A diamond in the center of the window masks out part of the scene. Within this mask, a different model (a sphere) is drawn in a different color. Modified from stencil.c.

See Also:
screenshot, help output

Field Summary
 
Fields inherited from class gnu.x11.Application
display
 
Constructor Summary
NonRectangular(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

NonRectangular

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

main

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