DoHiddenSurfSwitch(3D)

NAME
DoHiddenSurfSwitch - Create a hidden surface switch primitive attribute object

SYNOPSIS
C:
DtObject DoHiddenSurfSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:
INTEGER*4 DOHSS(SWVAL)
INTEGER*4 SWVAL

DESCRIPTION
DoHiddenSurfSwitch creates a hidden surface primitive attribute object. The parameter switchvalue specifies whether all portions of subsequent primitive objects will be rendered, including those that are obscured by other primitive objects or by other portions of the same object.

If switchvalue is DcOff <DCOFF>, primitive objects render themselves completely even if they are partially or completely hidden with respect to the viewer by other primitive objects in the scene. Hence, the order in which primitive objects are displayed is critical to the scene organization. If switchvalue is DcOn <DCON>, primitive objects do not render the portions of themselves that are hidden with respect to the viewer by other objects in the scene.

DEFAULTS
The default value for DoHiddenSurfSwitch is DcOn <DCON>.

SEE ALSO
DoBackfaceCullSwitch(3D)