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

Simple 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_bool_t sample_bsdf: 1
 Use the BSDFs' importance sampling routines to sample ray directions. (Uniform spherical sampling is used otherwise.).
 
tpbrt_bool_t sample_lights: 1
 Use the lights' importance sampling routines for direct lighting calculations. (No light sampling is used otherwise and lights must be randomly intersected by rays for illumination to be found.).
 

Detailed Description

Simple path integrator parameters.

Field Documentation

◆ max_depth

tpbrt_uint_t tpbrt_integrator_simple_path_params_t::max_depth

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

◆ sample_bsdf

tpbrt_bool_t tpbrt_integrator_simple_path_params_t::sample_bsdf

Use the BSDFs' importance sampling routines to sample ray directions. (Uniform spherical sampling is used otherwise.).

◆ sample_lights

tpbrt_bool_t tpbrt_integrator_simple_path_params_t::sample_lights

Use the lights' importance sampling routines for direct lighting calculations. (No light sampling is used otherwise and lights must be randomly intersected by rays for illumination to be found.).


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