Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoSpecularIntens(3D)

DoSpecularFactor(3D)

DoSpecularSwitch(3D)

DoSpecularColor(3D)  —  Kubota Pacfic 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.  You can think of the specular chromatic response of a surface as the color of its shiny highlights. 

The specular color is only one of four qualities that give a surface shiny highlights.  The other aspects are the intensity of the color (set with DoSpecularIntens), the precision of the highlight (set with DoSpecularFactor), and the switch that turns on the highlights (set with DoSpecularSwitch).  DoSpecularColor also affects the color of interobject reflections. 

DEFAULTS

The default DoSpecularColor is (DcRGB, (1.0, 1.0, 1.0)). 

SEE ALSO

DoSpecularIntens(3D), DoSpecularFactor(3D), DoSpecularSwitch(3D)

March 13, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026