DoSampleAdaptive(3D)

NAME
DoSampleAdaptive - Create an adaptive sampling camera attribute object for antialiasing

SYNOPSIS
C:
DtObject DoSampleAdaptive(variance)
DtReal variance;

FORTRAN:
INTEGER*4 DOSADP(VARNCE)
INTEGER*4 VARNCE

DESCRIPTION

DoSampleAdaptive creates an adaptive sampling 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 variance is a number specifying the acceptable level of variance for a pixel. This number is typically between 0.0 and 1.0. A higher number indicates a higher tolerance for aliases.

Adaptive sampling is enabled or disabled with the DoSampleAdaptiveSwitch <DOSJSW> attribute.

DEFAULTS
The default DoSampleAdaptive is 0.5.

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