[Bf-blender-cvs] [9b0ab89] master: Follow up to previous commit: tweak RE_RAYTRACE_EPSILON (correction value used when checking neighbor faces against shadowing).
Bastien Montagne
noreply at git.blender.org
Mon Apr 21 20:28:50 CEST 2014
Commit: 9b0ab890676790bb1e8e77797629b889ea66f69e
Author: Bastien Montagne
Date: Mon Apr 21 20:17:10 2014 +0200
https://developer.blender.org/rB9b0ab890676790bb1e8e77797629b889ea66f69e
Follow up to previous commit: tweak RE_RAYTRACE_EPSILON (correction value used
when checking neighbor faces against shadowing).
===================================================================
M source/blender/render/intern/include/rayintersection.h
===================================================================
diff --git a/source/blender/render/intern/include/rayintersection.h b/source/blender/render/intern/include/rayintersection.h
index 3607e66..9c0835a 100644
--- a/source/blender/render/intern/include/rayintersection.h
+++ b/source/blender/render/intern/include/rayintersection.h
@@ -121,7 +121,7 @@ typedef struct Isect {
/* arbitrary, but can't use e.g. FLT_MAX because of precision issues */
#define RE_RAYTRACE_MAXDIST 1e15f
-#define RE_RAYTRACE_EPSILON 0.0f
+#define RE_RAYTRACE_EPSILON -FLT_EPSILON
#ifdef __cplusplus
}
More information about the Bf-blender-cvs
mailing list