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.
This commit is contained in:
Brecht Van Lommel
2012-04-05 15:17:45 +00:00
parent 5d0bfc0325
commit 6e93e33294
8 changed files with 72 additions and 2 deletions

View File

@@ -45,6 +45,8 @@ public:
int seed;
int layer_flag;
float sample_clamp;
bool need_update;
Integrator();