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

PBRT sampler representation. More...

#include <tinypbrt/detail/sampler.h>

Data Fields

tpbrt_int_t seed
 A seed to use for the pseudorandom number generator. The default seed value is zero, though the –seed command-line argument can be used to specify a different seed. If a seed is specified in the scene description file, it overrides a value specified on the command-line.
 
union { 
 
   tpbrt_sampler_halton_params_t   halton 
 Halton sampler parameters. More...
 
   tpbrt_sampler_independent_params_t   independent 
 Independent sampler parameters. More...
 
   tpbrt_sampler_padded_sobol_params_t   padded_sobol 
 Padded sobol sampler parameters. More...
 
   tpbrt_sampler_sobol_params_t   sobol 
 Sobol sampler parameters. More...
 
   tpbrt_sampler_stratified_params_t   stratified 
 Stratified sampler parameters. More...
 
   tpbrt_sampler_z_sobol_params_t   z_sobol 
 Z-Sobol sampler parameters. More...
 
} as 
 Value dependent on type value.
 
tpbrt_sampler_type_t type: 4
 Sampler value type.
 

Detailed Description

PBRT sampler representation.

Examples
examples/scene_info/main.c.

Field Documentation

◆ seed

tpbrt_int_t tpbrt_sampler_t::seed

A seed to use for the pseudorandom number generator. The default seed value is zero, though the –seed command-line argument can be used to specify a different seed. If a seed is specified in the scene description file, it overrides a value specified on the command-line.

Examples
examples/scene_info/main.c.

◆ halton

tpbrt_sampler_halton_params_t tpbrt_sampler_t::halton

Halton sampler parameters.

Examples
examples/scene_info/main.c.

◆ independent

tpbrt_sampler_independent_params_t tpbrt_sampler_t::independent

Independent sampler parameters.

Examples
examples/scene_info/main.c.

◆ padded_sobol

tpbrt_sampler_padded_sobol_params_t tpbrt_sampler_t::padded_sobol

Padded sobol sampler parameters.

Examples
examples/scene_info/main.c.

◆ sobol

tpbrt_sampler_sobol_params_t tpbrt_sampler_t::sobol

Sobol sampler parameters.

Examples
examples/scene_info/main.c.

◆ stratified

tpbrt_sampler_stratified_params_t tpbrt_sampler_t::stratified

Stratified sampler parameters.

Examples
examples/scene_info/main.c.

◆ z_sobol

tpbrt_sampler_z_sobol_params_t tpbrt_sampler_t::z_sobol

Z-Sobol sampler parameters.

Examples
examples/scene_info/main.c.

◆ [union]

union { ... } tpbrt_sampler_t::as

Value dependent on type value.

Examples
examples/scene_info/main.c.

◆ type

tpbrt_sampler_type_t tpbrt_sampler_t::type

Sampler value type.

Examples
examples/scene_info/main.c.

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