DoSpecularFactor(3D) — Stardent 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 aspects of the specular component of a surface. The other components are the specular color, the specular color’s intensity, and the applicability of specular components to a surface.
DEFAULTS
The default DoSpecularFactor is 120.
SEE ALSO
DoSpecularColor(3D), DoSpecularIntens(3D), DoSpecularSwitch(3D)
September 29, 2021