.
. ![[Quick Ref]](../icons/quick_ref.gif)
Next: Surface Specification
Up: Surfaces and Atmospheric
Previous: Atmospheric Effects
The default medium is the medium which surrounds and encompasses
all of the objects in the scene; it is the ``air'' through which eye
rays usually travel before hitting an object. The properties of
the default medium may be modified through the use of the atmosphere
keyword.

- atmosphere [N] [atmospheric effects]
If given, N specifies the index of refraction of the default
medium. The default is 1.0. Any atmospheric effects listed are applied
to rays that are exterior to every object in the scene (e.g., rays
emanating from the camera).
/*
* Red sphere on a grey plane, with fog.
*/
eyep 0. -10. 2.
atmosphere fog .8 .8 .8 14. 14. 14.
plane 0 0 0 0 0 1
sphere diffuse 0.8 0 0 1.5 0 0 1.5
See example.
.
. ![[Quick Ref]](../icons/quick_ref.gif)
Next: Surface Specification
Up: Surfaces and Atmospheric
Previous: Atmospheric Effects
Jelle van Zeijl (jvzeijl@iso.estec.esa.nl)
Wed Jun 15 16:19:08 MET DST 1994