Module arendur::sample
[−]
[src]
The sampling and filtering interface
Modules
distribution |
Defines 1d and 2d distributions |
filters |
Defines some commonly used filters |
naive |
A naive sampler. |
prelude | |
strata |
Defines a stratified sampler |
Traits
Filter |
The filter interface. A filter always lies at $(0, 0)$ in its local frame. |
Sampler |
The sampling interface. Samplers should return sampled values in $[0, 1)$. |
Functions
balance_heuristic | |
pdf_concentric_disk |
pdf of concentric samples on a disk |
pdf_cosw_hemisphere |
pdf of cosine-theta weighted samples on a hemisphere |
pdf_uniform_cone |
pdf of uniform samples on a cone |
pdf_uniform_disk |
pdf of uniform samples on a disk |
pdf_uniform_hemisphere |
pdf of uniform samples on a hemisphere |
pdf_uniform_sphere |
pdf of uniform samples on a hemisphere |
power_heuristic |
power heuristic as per $\beta = 2$ |
sample_concentric_disk |
transform an uniformly sampled |
sample_cosw_hemisphere |
transform an uniformly sampled |
sample_uniform_cone |
transform an uniformly sampled |
sample_uniform_disk |
transform an uniformly sampled |
sample_uniform_hemisphere |
transform an uniformly sampled |
sample_uniform_sphere |
transform an uniformly sampled |
sample_uniform_triangle |
transform an uniformly sampled |