[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55912] trunk/blender/intern/cycles/bvh/ bvh_params.h: Fix #34921: cycles rendered a specific scene with a small high poly object

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Apr 8 22:04:06 CEST 2013


Revision: 55912
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55912
Author:   blendix
Date:     2013-04-08 20:04:03 +0000 (Mon, 08 Apr 2013)
Log Message:
-----------
Fix #34921: cycles rendered a specific scene with a small high poly object
contained in a large low poly object very slow, due to failure case of fast
multithread BVH binning. Tweaked parameter now to avoid this.

Modified Paths:
--------------
    trunk/blender/intern/cycles/bvh/bvh_params.h

Modified: trunk/blender/intern/cycles/bvh/bvh_params.h
===================================================================
--- trunk/blender/intern/cycles/bvh/bvh_params.h	2013-04-08 19:56:38 UTC (rev 55911)
+++ trunk/blender/intern/cycles/bvh/bvh_params.h	2013-04-08 20:04:03 UTC (rev 55912)
@@ -66,7 +66,7 @@
 		sah_triangle_cost = 1.0f;
 
 		min_leaf_size = 1;
-		max_leaf_size = 0x7FFFFFF;
+		max_leaf_size = 8;
 
 		top_level = false;
 		use_cache = false;




More information about the Bf-blender-cvs mailing list