POV-Ray : Newsgroups : povray.programming : Parametric object with shadow gets black : Parametric object with shadow gets black Server Time
5 Jul 2024 14:58:50 EDT (-0400)
  Parametric object with shadow gets black  
From: Massimo Valentini
Date: 21 Jun 2003 12:14:09
Message: <3ef48451@news.povray.org>
The patch below should fix the problem related to the no_shadow 
and parametric objects reported in povray.general

Message-ID: <3ef375c0@news.povray.org>
From: Wolfgang Wieser <.....>
Subject: Re: Parametric object with shadow gets black
Newsgroups: povray.general
Date: Fri, 20 Jun 2003 22:59:01 +0200


HTH Massimo

--- obj/fpmetric.cpp 2003-06-21 17:56:52.000000000 +0200
+++ src/fpmetric.cpp 2003-06-21 17:08:17.000000000 +0200
@@ -447,7 +447,7 @@
   }
  }
 
- if (TResult < Depth2)
+ if (TResult < Depth2 && TResult > DEPTH_TOLERANCE)
  {
   Increase_Counter(stats[Ray_Parametric_Tests_Succeeded]);
   VScale(IPoint, Ray->Direction, TResult);


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.