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

Path 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_integrator_light_sampler_t light_sampler: 3
 Light sampling algorithm to be used.
 
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

Path integrator parameters.

Field Documentation

◆ max_depth

tpbrt_uint_t tpbrt_integrator_path_params_t::max_depth

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

Examples
examples/scene_info/main.c.

◆ light_sampler

tpbrt_integrator_light_sampler_t tpbrt_integrator_path_params_t::light_sampler

Light sampling algorithm to be used.

◆ regularize

tpbrt_bool_t tpbrt_integrator_path_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: