|
![](/i/fill.gif) |
"Massimo Valentini" ha scritto
:
: I don't think a quick patch is easy, but, may be, it suffices a loop.
:
Instead of a loop it is possible to set appropriately the range
for intersections, so that the first is the correct.
The following patch should fix the shadow problem, though not
the accuracy one.
Massimo
--- obj/fpmetric.cpp 2003-06-23 22:10:24.000000000 +0200
+++ fpmetric.cpp 2003-06-23 22:11:30.000000000 +0200
@@ -222,6 +222,9 @@
if (Depth1 == Depth2)
Depth1 = 0;
+ if (Depth1 < DEPTH_TOLERANCE)
+ Depth1 = DEPTH_TOLERANCE;
+
if ((Depth1 += 4 * Par->accuracy) > Depth2)
return false;
Post a reply to this message
|
![](/i/fill.gif) |