DoSpecularIntens(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoSpecularIntens − Create a specular intensity primitive attribute object
SYNOPSIS
C:
DtObject DoSpecularIntens(intensity)
DtReal intensity;
FORTRAN:
INTEGER∗4 DOSPCI(INTENS)
REAL∗8 INTENS
DESCRIPTION
DoSpecularIntens creates a specular intensity primitive attribute object. Specular reflection is the response of a surface to directed incident light where the reflected (specular) light is scattered primarily in the mirror direction.
The parameter intensity specifies a weighting factor for the specular response of a surface to light from incident light sources in the environment. The specular intensity ranges from 0.0 to 1.0.
The specular intensity is only one of four qualities that give a surface shiny highlights. The other qualities are the color of the highlight (set with DoSpecularColor), the precision of the highlight (set with DoSpecularFactor), and the switch that turns the highlights on (set with DoSpecularSwitch).
DoSpecularIntens also affects the intensity of interobject reflections.
DEFAULTS
The default DoSpecularIntens is 1.0.
SEE ALSO
DoReflectionSwitch(3D), DoSpecularColor(3D), DoSpecularFactor(3D), DoSpecularSwitch(3D)
September 02, 1992