Omni_light

Syntax:

	(omni_light
           (color: coord)
           (center: coord))

color:

A set of coordinates specifying the (r, g, b) values of the color of the light. Each element is on the range {0, 1}. The default color is (: 1 1 1), white.

center:

A set of coordinates specifying the position of the center of the light in meters. The default position is (: 0 0 0), the origin.


Example:

(omni_light (center: (: 0 1 0))

This code creates a white omni light 3 meters from the origin along the positive y-axis.


© 1996, Morgan McGuire ([email protected]) and Laura Wollstadt ([email protected]).
All rights reserved

LBW 12/05/96