Revision: 27117
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27117
Author:   blendix
Date:     2010-02-24 11:57:13 +0100 (Wed, 24 Feb 2010)

Log Message:
-----------
Render Branch: tweak irradiance cache clamping for reconstruction to
avoid corner samples leaking into open areas.

Modified Paths:
--------------
    branches/render25/source/blender/render/intern/source/cache.c

Modified: branches/render25/source/blender/render/intern/source/cache.c
===================================================================
--- branches/render25/source/blender/render/intern/source/cache.c       
2010-02-24 03:58:26 UTC (rev 27116)
+++ branches/render25/source/blender/render/intern/source/cache.c       
2010-02-24 10:57:13 UTC (rev 27117)
@@ -698,6 +698,8 @@
 
                        if(preprocess && !(dist < sample->dP))
                                continue;
+                       else if(!preprocess && !(dist < sample->dP*2))
+                               continue;
 
 #if 0
                        {


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to