gnu.app.redbook
Class DepthOfField

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

public class DepthOfField
extends Application

Create out-of-focus depth-of-field effect. To demonstrate the use of the accumulation buffer and perspective projection. The teapots are drawn several times into the accumulation buffer. The viewing volume is jittered, except at the focal point, where the viewing volume is at the same position, each time. In this case, the gold teapot remains in focus. Modified from dof.c.

See Also:
screenshot, help output

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

DepthOfField

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

main

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