gnu.app.redbook
Class Fog
java.lang.Object
gnu.app.Application
gnu.x11.Application
gnu.x11.extension.glx.Application
gnu.app.redbook.Fog
public class Fog
- extends Application
Test fog. It draws 5 red spheres, each at a different z distance from
the eye, in different types of fog. In this program, there is a fixed
density value, as well as fixed start and end values for the linear fog.
Modified from fog.c
.
- To use exponential fog, press 'e' or 'E'.
- To use exponential squared fog, press 's' or 'S'.
- To use linear fog, press 'l' or 'L'.
- See Also:
-
screenshot,
help output
Constructor Summary |
Fog(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 |
Fog
public Fog(java.lang.String[] args)
main
public static void main(java.lang.String[] args)