next up previous contents index
Next: Objects Up: Scene Description Files Previous: Lights   Contents   Index

Subsections

Atmospheric effects

Tachyon currently only implements one atmospheric effect, simple distance-based fog.


Fog

Tachyon provides a simple distance-based fog effect intended to provide functionality similar to that found in OpenGL, for compatibility with software that requires an OpenGL-like fog implementation. Much like OpenGL, Tachyon provides linear, exponential, and exponential-squared fog.

  FOG 
    LINEAR START 0.0  END 50.0  DENSITY 1.0  COLOR 1.0 1.0 1.0

  FOG 
    EXP START 0.0  END 50.0  DENSITY 1.0  COLOR 1.0 1.0 1.0

  FOG 
    EXP2 START 0.0  END 50.0  DENSITY 1.0  COLOR 1.0 1.0 1.0



johns@megapixel.com