commit e8f0312b136e47536a9fe8ac81dc87b67c2f6207
parent cfb23b462b7599476369d8aa8187addcfe824bfc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 7 Apr 2017 15:08:09 +0200
Increase the count of paths that can be rejected in the path-tracer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ssol_draw_pt.c b/src/ssol_draw_pt.c
@@ -275,7 +275,7 @@ draw_pixel
ctx = darray_thread_context_data_get(thread_ctxs) + ithread;
FOR_EACH(isample, 0, nsamples) {
- const int MAX_NFAILURES = 10;
+ const int MAX_NFAILURES = 100;
double weight[3];
float samp[2]; /* Pixel sample */
float ray_org[3], ray_dir[3];