DoInterpType(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoInterpType − Create an interpolation type primitive attribute object
SYNOPSIS
C:
DtObject DoInterpType(type)
DtInterpType type;
FORTRAN:
INTEGER∗4 DOIT(TYPE)
INTEGER∗4 TYPE
DESCRIPTION
DoInterpType creates an interpolation type primitive attribute object. The parameter type specifies the information interpolated by the object when it shades itself.
The parameter type argument can have the following values:
DcConstantShade <DCCNSH>
Average the information from each vertex and generate a single shade for each facet of the object.
DcVertexShade <DCVXSH>
Shade each vertex of the object and then render each facet by linearly interpolating the vertex shades across the facet.
DcSurfaceShade <DCSFSH>
Interpolate all information from each vertex linearly across each facet of the object and then shade each point on the object.
DEFAULTS
The default value for DoInterpType is DcConstantShade <DCCNSH>.
SEE ALSO
March 13, 1992