DoTranspOrientSwitch(3D)

NAME
DoTranspOrientSwitch - Create a primitive attribute object for enabling or disabling orientation dependent transparency

SYNOPSIS
C:
DtObject DoTranspOrientSwitch(switchvalue)
DtSwitch switchvalue;

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

DESCRIPTION

DoTranspOrientSwitch creates a primitive attribute object for enabling or disabling orientation dependent transparency.

Orientation dependent transparency means that the transparency of an object varies depending on the orientation of the object and the view direction. The transparency can also vary across the object if it is not completely flat.

The attributes DoTranspIntens <DOTI> and DoTranspColor <DOTC> are used when the viewing direction coincides with the object normal. The values of the attributes DoTranspOrientIntens <DOTOI> and DoTranspOrientColor <DOTOC> are used when the object normal is perpendicular to the viewing direction. Otherwise a combination of both sets is used. See DoTranspOrientIntens and DoTranspOrientColor for more details.

The parameter switchvalue specifies whether subsequent primitive objects have an orientation dependent transparent component.

DcOn <DCON>
    The object will render itself without orientation dependent transparency, regardless of the settings for other orientation dependent transparency attributes.

DcOff <DCOFF>
    The object will render itself with orientation dependent transparency whenever possible.

Both DoTranspSwitch <DOTS> and DoTranspOrientSwitch must be DcOn for orientation dependent transparency to be enabled.

DEFAULTS
The default DoTranspOrientSwitch is DcOff <DCOFF>.

SEE ALSO
DoTranspOrientIntens(3D), DoTranspOrientColor(3D), DoTranspOrientExp(3D), DoTranspIntens(3D), DoTranspColor(3D), DoTranspSwitch(3D)