Basic HTML version of Foils prepared May 19 99

Foil 50 Controlling Fog

From Java Media Framework API's Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Byeongseob Ki, Scott Klasky, Nancy McCracken


1 Java 3D has a typical set of fog nodes much like their VRML counterparts:
2 Fog
3 ExponentialFog
4 LinearFog
5 LinearFog murky = new LinearFog( );
6 murky.setColor( 0.8, 0.8, 0.8 );
7 murky.setFrontDistance( 0.0 );
8 murky.setBackDistance( 10.0 );

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Jul 5 1999