DoSampleAdaptiveSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoSampleAdaptiveSwitch − Create a camera attribute object for enabling or disabling the use of adaptive sampling for antialiasing
SYNOPSIS
C:
DtObject DoSampleAdaptiveSwitch(switchvalue)
DtSwitch switchvalue;
FORTRAN:
INTEGER∗4 DOSASW(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoSampleAdaptiveSwitch creates an adaptive sampling switch camera attribute object for antialiasing.
Adaptive sampling means that not all pixels will be sampled equally, with pixels that include object edges being sampled more frequently. Pixels will be sampled until the variance of the samples is below a certain threshold. Adaptive sampling can also be done in conjunction with supersampling.
The parameter switchvalue specifies whether subsequent cameras can sample adaptively.
DcOn <DCON>
Adaptive sampling is enabled.
DcOff <DCOFF>
Adaptive sampling is disabled.
DEFAULTS
The default DoSampleAdaptiveSwitch is DcOff.
SEE ALSO
DoSampleAdaptive(3D), DoSampleSuper(3D), DoLocalAntiAliasStyle(3D), DoLocalAntiAliasSwitch(3D)
September 02, 1992