DoSampleSuperSwitch(3D)

NAME
DoSampleSuperSwitch - Create a camera attribute object for enabling or disabling the use of supersampling for antialiasing

SYNOPSIS
C:
DtObject DoSampleSuperSwitch(switchvalue)
DtSwitch switchvalue;

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

DESCRIPTION

DoSampleSuperSwitch creates a supersampling switch camera attribute object for antialiasing.

Supersampling means that each pixel of an image is subdivided into subpixels, and a shade is computed for each of the subpixels. A filter is then applied to the shades of the subpixels to obtain the pixel value.

The parameter switchvalue specifies whether subsequent cameras can do supersampling.

DcOn <DCON>
    Supersampling is enabled. The number of subpixels per pixel is determined by the DoSampleSuper <DOSSPR> attribute.

DcOff <DCOFF>
    The pixels will not be divided into subpixels.

DEFAULTS
The default DoSampleSuperSwitch is DcOff.

SEE ALSO
DoSampleSuper(3D), DoSampleFilter(3D), DoLocalAntiAliasStyle(3D), DoLocalAntiAliasSwitch(3D)