35 #include <vertex_storage.h> 36 #include <bpt_options.h> 37 #include <bpt_queues.h> 38 #include <tiled_sequence.h> 40 #include <renderer_interface.h> 59 bool light_perturbations;
60 bool eye_perturbations;
61 float independent_samples;
68 light_perturbations(
true),
69 eye_perturbations(
true),
70 independent_samples(0.0f)
72 BPTOptionsBase::light_tracing = 0.0f;
75 void parse(
const int argc,
char** argv)
77 BPTOptionsBase::parse(argc, argv);
79 for (
int i = 0; i < argc; ++i)
81 if (strcmp(argv[i],
"-chains") == 0)
82 n_chains = atoi(argv[++i]) * 1024;
83 else if (strcmp(argv[i],
"-spp") == 0)
84 spp = atoi(argv[++i]);
85 else if (strcmp(argv[i],
"-rr") == 0)
86 rr = atoi(argv[++i]) > 0;
87 else if (strcmp(argv[i],
"-light-perturbations") == 0)
88 light_perturbations = atoi(argv[++i]) > 0;
89 else if (strcmp(argv[i],
"-eye-perturbations") == 0)
90 eye_perturbations = atoi(argv[++i]) > 0;
91 else if (strcmp(argv[i],
"-perturbations") == 0)
92 light_perturbations = eye_perturbations = atoi(argv[++i]) > 0;
93 else if (strcmp(argv[i],
"-independent-samples") == 0 ||
94 strcmp(argv[i],
"-independent") == 0 ||
95 strcmp(argv[i],
"-is") == 0)
96 independent_samples = (float)atof(argv[++i]);
111 void sample_seeds(
const uint32 n_chains);
137 float m_image_brightness;
139 uint32 m_n_init_light_paths;
140 uint32 m_n_init_paths;
141 uint32 m_n_connections;
Definition: tiled_sequence.h:131
Definition: vertex_storage.h:73
Definition: renderer_interface.h:45
Definition: renderer.h:52
void destroy()
Definition: pssmlt.h:115
Definition: bpt_queues.h:51
Definition: renderer_view.h:80
Defines several random samplers.
Definition: bpt_options.h:42