DoDiffuseColor(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoDiffuseColor − Create a diffuse color primitive attribute object
SYNOPSIS
C:
DtObject DoDiffuseColor(colormodel, color)
DtColorModel colormodel;
DtReal color[];
Fortran:
INTEGER∗4 DODIFC(COLMOD, COLOR)
INTEGER∗4 COLMOD
REAL∗8 COLOR(3)
DESCRIPTION
DoDiffuseColor creates an diffuse color primitive attribute using the color model specified by colormodel. The color parameter specifies the diffuse response of a surface to light.
Diffuse radiation is the response of a surface to incident (i.e., non-ambient) light where the emitted light is scattered equally in all directions. The diffuse color of a surface is often thought of as the base color. The diffuse color is also used for determining the color of the ambient component of a surface.
The diffuse color is one of three aspects of the diffuse component of a surface. The other two components are DoDiffuseIntens <DODIFI> and DoDiffuseSwitch <DODIFS>.
DEFAULTS
The default DoDiffuseColor is (DcRGB, (1.0, 1.0, 1.0)).
SEE ALSO
DoDiffuseIntens(3D), DoDiffuseSwitch(3D)
September 29, 2021