|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Stratified sampler parameters. More...
#include <tinypbrt/detail/sampler.h>
Data Fields | |
| tpbrt_uint_t | x_samples |
| The number of samples per pixel to take in the x direction. | |
| tpbrt_uint_t | y_samples |
| The number of samples per pixel to take in the y direction. In general, "xsamples" and "ysamples" should be set to the same value for best results. | |
| tpbrt_bool_t | jitter: 1 |
| Whether or not the generated samples should be jittered inside each stratum; this is generally only worth setting to "false" for comparisons between jittered and uniform sampling—uniform sampling will almost always give a worse result. | |
Stratified sampler parameters.
| tpbrt_uint_t tpbrt_sampler_stratified_params_t::x_samples |
The number of samples per pixel to take in the x direction.
| tpbrt_uint_t tpbrt_sampler_stratified_params_t::y_samples |
The number of samples per pixel to take in the y direction. In general, "xsamples" and "ysamples" should be set to the same value for best results.
| tpbrt_bool_t tpbrt_sampler_stratified_params_t::jitter |
Whether or not the generated samples should be jittered inside each stratum; this is generally only worth setting to "false" for comparisons between jittered and uniform sampling—uniform sampling will almost always give a worse result.