Basic HTML version of Foils prepared March 4 1998

Foil 178 Creating A Virtual Atmosphere Effect

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

Bakers Example - Fog node also w/ Proximity sensors(Fog node also w/ Proximity sensors)
1 By using a Fog node, a light haze or a thick, pea-soap fog can be produced. It is also possible to define a color for this fog effect.
  • Fog {
  • color 1 1 1 # exposedField SFColor
  • fogType "LINEAR" # exposedField SFString
  • visibilityRange 0 # exposedField SFFloat
  • set_bind # eventIn SFBool
  • isBound # eventOut SFBool
  • }
2 color specifies the RGB color of a fog.
3 visibilityRange specifies the maximum distance between viewer and the shapes in the world so that the shapes which are away from the viewer can not be seen by the viewer because of the fog effect.
4 fogType defines the interpolation of fog thickness with repect to the distance between shape and viewer. It can be LINEAR or EXPONENTIAL.

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 Sun Apr 5 1998