DoAmbientIntens(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoAmbientIntens − Create an ambient intensity primitive attribute object
SYNOPSIS
C:
DtObject DoAmbientIntens(intensity)
DtReal intensity;
FORTRAN:
INTEGER∗4 DOAMBI(INTENS)
REAL∗8 INTENS
DESCRIPTION
DoAmbientIntens creates an ambient intensity primitive attribute object. The intensity parameter is used to specify the intensity of a surface’s ambient response to light from ambient light sources in the environment. The ambient intensity normally ranges from 0.0 to 1.0 signifying the contribution of ambient component to the overall shade of the object’s surface.
The color of the ambient component of a surface is assumed to be the same as for the diffuse component and is set by DoDiffuseColor <DODIFC>. DoAmbientSwitch <DOAMBS> determines the applicability of ambient components to a surface.
DEFAULTS
The default for DoAmbientIntens is 0.3.
SEE ALSO
DoDiffuseColor(3D), DoAmbientSwitch(3D)
September 02, 1992