DoSpecularSwitch(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoSpecularSwitch − Create a specular switch primitive attribute object
SYNOPSIS
C:
DtObject DoSpecularSwitch(switchvalue)
DtSwitch switchvalue;
Fortran:
INTEGER∗4 DOSPCS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoSpecularSwitch creates a specular primitive attribute object. The parameter switchvalue specifies whether the surfaces of subsequent primitive objects have a specular component. Possible values are:
DcOff <DCOFF>
The object will render itself without specular shading regardless of the settings for specular color, specular intensity, and specular factor.
DcOn <DCON>
The object will render itself using the specular attributes whenever possible.
The specular switch is only one of four aspects of the specular component of a surface. The other components are the specular color, the specular intensity, and the scattering of the specular reflection.
DEFAULTS
The default for DoSpecularSwitch is DcOff <DCOFF>.
SEE ALSO
DoSpecularFactor(3D), DoSpecularIntens(3D), DoSpecularColor(3D)
September 29, 2021