DoLightColor(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoLightColor − Create a light color studio attribute object
SYNOPSIS
C:
DtObject DoLightColor(colormodel, color)
DtColorModel colormodel;
DtReal color[];
FORTRAN:
INTEGER∗4 DOLC(COLMOD, COLOR)
INTEGER∗4 COLMOD
REAL∗8 COLOR(∗)
DESCRIPTION
DoLightColor creates a light color studio attribute object. The parameter colormodel specifies the color model used. The parameter color specifies the color, in the designated color model, of subsequent light objects.
When colormodel is RGB, color is an array of three components, with the value of each component between 0.0 and 1.0.
The light color attribute controls only the chromatic composition of the light emitted by a light source; the intensity of the light source is determined by the light intensity attribute.
DEFAULTS
The default DoLightColor is (DcRGB, (1.0, 1.0, 1.0)), a white light.
SEE ALSO
DoLight(3D), DoLightIntens(3D)
September 02, 1992