Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoSpecularColor(3D)

DoSpecularIntens(3D)

DoSpecularFactor(3D)

DoSpecularSwitch(3D)  —  Kubota Pacfic Computer Inc. (\*(Dd)

NAME

DoSpecularSwitch − Create a primitive attribute object for enabling or disabling specular highlights

SYNOPSIS

C:

DtObject DoSpecularSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:

INTEGER∗4 DOSPCS(SWVAL)
INTEGER∗4 SWVAL

DESCRIPTION

DoSpecularSwitch creates a primitive attribute object for enabling or disabling specular highlights. 

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 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 highlights 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 qualities that give a surface shiny highlights.  The other qualities are the color of the highlight (set with DoSpecularColor), the intensity of the color (set with DoSpecularIntens), and the precision of the highlight (set with DoSpecularFactor). 

DEFAULTS

The default for DoSpecularSwitch is DcOff <DCOFF>. 

SEE ALSO

DoSpecularColor(3D), DoSpecularIntens(3D), DoSpecularFactor(3D)

September 02, 1992

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