TSuperSampler

Graphics32

TSuperSampler

Hierarchy

TPersistent

   |

TNotifiablePersistent

   |

TCustomSampler

   |

TNestedSampler

Description

TSuperSampler is a nested sampler that adds a mechanism for performing super sampling. By adding a super sampler to a chain of samplers, it is possible to increase the sampling density, which will improve the quality of the rasterized output image.

For each input sample (x, y), we find the subsamples by using a rectangular grid, regularly subdivided (according to SamplingX and SamplingY) within the region (x - 0.5, y - 0.5, x + 0.5, y + 0.5).

Reference

Properties Methods Events
In TSuperSampler:
SamplingX Create
SamplingY GetSample
In TNestedSampler:
Sampler
In TCustomSampler:
FinalizeSampling
GetSampleBounds
HasBounds
PrepareSampling
In TNotifiablePersistent:
UpdateCount BeginUpdate OnChange
Changed
Destroy
EndUpdate

See Also

Kernel Example, Resampler Example