tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt_integrator_mlt_params_t Struct Reference

MLT integrator parameters. More...

#include <tinypbrt/detail/integrator.h>

Data Fields

tpbrt_uint_t max_depth
 Maximum length of a light-carrying path sampled by the integrator.
 
tpbrt_uint_t bootstrap_samples
 Number of samples to take during the "bootstrap" phase; some of these samples are used for initial light-carrying paths for the Metropolis algorithm.
 
tpbrt_uint_t chains
 Number of unique Markov chains chains to follow with the Metropolis algorithm. (Each chain starts with a new path from the bootstrap phase.).
 
tpbrt_uint_t mutations_per_pixel
 Number of path mutations to apply per pixel in the image. (Note that each pixel will generally receive more or fewer path contributions, depending on how bright the pixel is. For the most part, this is the most effective parameter to increase to improve image quality.
 
tpbrt_float_t large_step_probability
 Probability of discarding the current path and generating a new random path (versus applying a small mutation to the current path). For scenes with very difficult-to-sample light transport paths, reducing this probability may be worthwhile.
 
tpbrt_float_t sigma
 Standard deviation of the perturbation applied to random samples in [0,1] used for small path mutations.
 
tpbrt_bool_t regularize: 1
 Controls whether "path regularization" is performed. (i.e., a roughening of specular vertices after a non-specular scattering event which can reduce high-variance error in tricky lighting situations.).
 

Detailed Description

MLT integrator parameters.

Field Documentation

◆ max_depth

tpbrt_uint_t tpbrt_integrator_mlt_params_t::max_depth

Maximum length of a light-carrying path sampled by the integrator.

◆ bootstrap_samples

tpbrt_uint_t tpbrt_integrator_mlt_params_t::bootstrap_samples

Number of samples to take during the "bootstrap" phase; some of these samples are used for initial light-carrying paths for the Metropolis algorithm.

◆ chains

tpbrt_uint_t tpbrt_integrator_mlt_params_t::chains

Number of unique Markov chains chains to follow with the Metropolis algorithm. (Each chain starts with a new path from the bootstrap phase.).

◆ mutations_per_pixel

tpbrt_uint_t tpbrt_integrator_mlt_params_t::mutations_per_pixel

Number of path mutations to apply per pixel in the image. (Note that each pixel will generally receive more or fewer path contributions, depending on how bright the pixel is. For the most part, this is the most effective parameter to increase to improve image quality.

◆ large_step_probability

tpbrt_float_t tpbrt_integrator_mlt_params_t::large_step_probability

Probability of discarding the current path and generating a new random path (versus applying a small mutation to the current path). For scenes with very difficult-to-sample light transport paths, reducing this probability may be worthwhile.

◆ sigma

tpbrt_float_t tpbrt_integrator_mlt_params_t::sigma

Standard deviation of the perturbation applied to random samples in [0,1] used for small path mutations.

◆ regularize

tpbrt_bool_t tpbrt_integrator_mlt_params_t::regularize

Controls whether "path regularization" is performed. (i.e., a roughening of specular vertices after a non-specular scattering event which can reduce high-variance error in tricky lighting situations.).


The documentation for this struct was generated from the following file: