Introduction to 3D Graphics and VRML

[ Previous | Index | Next ]


Fog

  • Fog can be used to provide a depth cue and increase realism

VRML 2.0 example

(note fog defines an axis aligned ellipsoid)

  
  Fog {
    size          10 10 10 # Vector
    maxVisibility 1        # Float
    color         1  1  1  # RGB Color
  }

Author: Michael Louka (mlouka@sn.no)
Last Updated: 19 November 1996