(environment (ambient: coord) (eta: number) (transparency: number) (color: coord))
A set of coordinates indicating the (r, g, b) value of the ambient light in the environment. Each element is on the range {0,1}. The default ambient is (.5, .5, .5).
A number on the range {1,2} indicating the index of refraction of the environment. The default eta is 1, the index of refraction of air.
A number on the range {0,1} indicating the transparency of the environment. A value of 1 produces a perfectly transparent envionment; a value of 0 produces a completely opaque environment. The default transparency is 1.
A set of coordinates indicating the (r, g, b) value of the color of the environment . Each element is on the range {0,1}. The default color is (1, 1, 1).
(environment (eta: 1.3) (transparency: .8))This code creates an environment with an index of refraction of 1.3 (approximately the index of refraction of water) and a transparency of .8. This transparency value will produce a slight fog effect on distant objects.
LBW 12/05/96