DoSampleAdaptive(3D) — Stardent Computer Inc. (\*(Dd)
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 treshold. 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 enable/disabled with the DoSampleJitterSwitch <DOSJSW> attribute.
DEFAULTS
The default DoSampleAdaptive is 0.5.
SEE ALSO
DoSampleAdaptiveSwitch(3D), DoSampleSuper(3D)
September 29, 2021