Controlling Fog
Java 3D has a typical set of fog nodes much like their VRML counterparts:
Fog
ExponentialFog
LinearFog
LinearFog murky = new LinearFog( );
murky.setColor( 0.8, 0.8, 0.8 );
murky.setFrontDistance( 0.0 );
murky.setBackDistance( 10.0 );
Previous slide
Next slide
Back to first slide
View graphic version