DoDepthCueSwitch(3D)

NAME
DoDepthCueSwitch - Create a primitive attribute object for enabling or 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. Depth cueing is often used to make objects far from the viewer fade into the background.

DEFAULTS
The default for DoDepthCueSwitch is DcOff <DCOFF>.

SEE ALSO
DoDepthCue(3D)