DoSpecularFactor(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoSpecularFactor − Create a specular factor primitive attribute object
SYNOPSIS
C:
DtObject DoSpecularFactor(factor)
DtReal factor;
FORTRAN:
INTEGER∗4 DOSPCF(FACTOR)
REAL∗8 FACTOR
DESCRIPTION
DoSpecularFactor creates a specular factor primitive attribute object.
Specular reflection is the response of a surface to incident light where the reflected (specular) light is scattered primarily in the mirror direction. The specular factor determines the shape and size of the specular highlight. The larger the value of the specular factor attribute, the more sharp and precise the highlight; the lower the value, the more fuzzy and less precise the highlight.
The parameter factor is an exponent in the shading equation Doré uses to calculate specular reflectance in a scene.
The specular factor is only one of four qualities that give a surface shiny highlights. The other qualities are the specular color (set with DoSpecularColor), the specular color’s intensity (set with DoSpecularIntens), and the switch that turns on specular highlights (set with DoSpecularSwitch).
DEFAULTS
The default DoSpecularFactor is 120.
SEE ALSO
DoSpecularColor(3D), DoSpecularIntens(3D), DoSpecularSwitch(3D)
September 02, 1992