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

SPPM 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_int_t photons_per_iteration
 Number of photons to shoot from light sources in each iteration. With the default value, -1, the number is automatically set to be equal to the number of pixels in the image.
 
tpbrt_float_t radius
 Initial photon search radius. (This value will be reduced as photons are accumulated at each pixel.)
 
tpbrt_int_t seed
 Seed for random number generator used to randomize sample generation for photon rays.
 

Detailed Description

SPPM integrator parameters.

Field Documentation

◆ max_depth

tpbrt_uint_t tpbrt_integrator_sppm_params_t::max_depth

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

Examples
examples/scene_info/main.c.

◆ photons_per_iteration

tpbrt_int_t tpbrt_integrator_sppm_params_t::photons_per_iteration

Number of photons to shoot from light sources in each iteration. With the default value, -1, the number is automatically set to be equal to the number of pixels in the image.

◆ radius

tpbrt_float_t tpbrt_integrator_sppm_params_t::radius

Initial photon search radius. (This value will be reduced as photons are accumulated at each pixel.)

Examples
examples/scene_info/main.c.

◆ seed

tpbrt_int_t tpbrt_integrator_sppm_params_t::seed

Seed for random number generator used to randomize sample generation for photon rays.


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