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

Data Structures

struct  tpbrt_sampler_halton_params_t
 Halton sampler parameters. More...
 
struct  tpbrt_sampler_independent_params_t
 Independent sampler parameters. More...
 
struct  tpbrt_sampler_padded_sobol_params_t
 Padded sobol sampler parameters. More...
 
struct  tpbrt_sampler_sobol_params_t
 Sobol sampler parameters. More...
 
struct  tpbrt_sampler_stratified_params_t
 Stratified sampler parameters. More...
 
struct  tpbrt_sampler_z_sobol_params_t
 Z-Sobol sampler parameters. More...
 
struct  tpbrt_sampler_t
 PBRT sampler representation. More...
 

Enumerations

enum  tpbrt_sampler_type_t {
  TPBRT_SAMPLER_TYPE_HALTON = 0 , TPBRT_SAMPLER_TYPE_INDEPENDENT = 1 , TPBRT_SAMPLER_TYPE_PADDED_SOBOL = 2 , TPBRT_SAMPLER_TYPE_SOBOL = 3 ,
  TPBRT_SAMPLER_TYPE_STRATIFIED = 4 , TPBRT_SAMPLER_TYPE_Z_SOBOL = 5 , TPBRT_SAMPLER_TYPE_MAX_NUM = 6
}
 Sampler types. More...
 
enum  tpbrt_sampler_random_t {
  TPBRT_SAMPLER_RANDOM_NONE = 0 , TPBRT_SAMPLER_RANDOM_PERMUTE_DIGITS = 1 , TPBRT_SAMPLER_RANDOM_OWEN = 2 , TPBRT_SAMPLER_RANDOM_FAST_OWEN = 3 ,
  TPBRT_SAMPLER_RANDOM_MAX_NUM = 4
}
 Sampler random type. More...
 

Detailed Description

Enumeration Type Documentation

◆ tpbrt_sampler_type_t

Sampler types.

Enumerator
TPBRT_SAMPLER_TYPE_HALTON 

Halton sampler.

TPBRT_SAMPLER_TYPE_INDEPENDENT 

Independent sampler.

TPBRT_SAMPLER_TYPE_PADDED_SOBOL 

Padded sobol sampler.

TPBRT_SAMPLER_TYPE_SOBOL 

Sobol sampler.

TPBRT_SAMPLER_TYPE_STRATIFIED 

Stratified sampler.

TPBRT_SAMPLER_TYPE_Z_SOBOL 

Z-Sobol sampler.

TPBRT_SAMPLER_TYPE_MAX_NUM 

Count of available sampler types.

◆ tpbrt_sampler_random_t

Sampler random type.

Enumerator
TPBRT_SAMPLER_RANDOM_NONE 

Disables randomization.

TPBRT_SAMPLER_RANDOM_PERMUTE_DIGITS 

Applies a random permutation to the digits of the sample.

TPBRT_SAMPLER_RANDOM_OWEN 

Applies Owen scrambling.

TPBRT_SAMPLER_RANDOM_FAST_OWEN 

Applies an efficient approximation to Owen scrambling.

TPBRT_SAMPLER_RANDOM_MAX_NUM 

Count of available random types.