DoDepthCueSwitch(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoDepthCueSwitch − Create a primitive attribute object for enabling/disabling depth cueing
SYNOPSIS
C:
DtObject DoDepthCueSwitch(switchvalue)
DtSwitch switchvalue;
Fortran:
INTEGER∗4 DODCS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoDepthCueSwitch creates a depth cue switch primitive attribute object. The switchvalue parameter is used to specify whether or not subsequent primitive objects will be depth cued. When the depth cue switch is enabled, a user-provided color is combined with that of any primitive object proportional to each part’s distance from the viewer (i.e., Z-values in frame coordinates). If the depth cue switch is disabled, then the primitive object’s color is unaffected.
DEFAULTS
The default for DoDepthCueSwitch is DcOff <DCOFF>.
SEE ALSO
September 29, 2021