DoSpecularColor(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoSpecularColor − Create a specular color primitive attribute object
SYNOPSIS
C:
DtObject DoSpecularColor(colormodel, color)
DtColorModel colormodel;
DtReal color[];
Fortran:
INTEGER∗4 DOSPCC(COLMOD, COLOR)
INTEGER∗4 COLMOD
REAL∗8 COLOR(∗)
DESCRIPTION
DoSpecularColor creates a specular color primitive attribute object. The parameter colormodel specifies the color model used. The parameter color specifies the specular response of a surface to light from directed light sources in the environment.
Specular reflection is the response of a surface to directed incident light where the reflected (specular) light is scattered primarily in the mirror direction. In effect, the specular chromatic response of a surface can be thought of as the color of its shiny highlights.
The specular color is only one of four aspects of the specular component of a surface. The other components are the specular color’s intensity, the scattering of the specular reflection, and the applicability of specular components to a surface.
DEFAULTS
The default DoSpecularColor is (DcRGB, (1.0, 1.0, 1.0)).
SEE ALSO
DoSpecularIntens(3D), DoSpecularFactor(3D), DoSpecularSwitch(3D)
September 29, 2021