Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-05 19:17:45 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-05 19:17:45 +0400
commit6e93e3329427390c35fb93b2c5add8a639671bb6 (patch)
tree47785308f6b8341d8cc81e351045180d96f447a1 /intern/cycles/render/integrator.h
parent5d0bfc032530018ba20bb13cee5970695753e80b (diff)
Cycles: add rejection of inf/nan samples, in principle these should not happen
but this makes it more reliable for now. Also add an integrator "Clamp" option, to clamp very light samples to a maximum value. This will reduce accuracy but may help reducing noise and speed up convergence.
Diffstat (limited to 'intern/cycles/render/integrator.h')
-rw-r--r--intern/cycles/render/integrator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h
index e610d670142..abbbaca894c 100644
--- a/intern/cycles/render/integrator.h
+++ b/intern/cycles/render/integrator.h
@@ -45,6 +45,8 @@ public:
int seed;
int layer_flag;
+ float sample_clamp;
+
bool need_update;
Integrator();