POV-Ray : Newsgroups : povray.programming : Strange piece of code : Strange piece of code Server Time
28 Sep 2024 10:51:03 EDT (-0400)
  Strange piece of code  
From: Celui
Date: 15 Jun 2005 12:25:01
Message: <web.42b05583856a31da367138710@news.povray.org>
Hello.

in lighting.cpp line 2772:


if (Cos_Shadow_Angle < EPSILON)
{
   return;
}

What's the role of this code ?
It disturbs me. It avoids lauching a new ray to the light source and put the
object into dark at that pixel even if the object is no under the shadow...

When I remove it, it works better !


lmagnin *at* ens-lyon *dot* fr


Post a reply to this message

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