POV-Ray : Newsgroups : povray.programming : POV-Ray & KD-Trees : Re: POV-Ray & KD-Trees Server Time
2 Jul 2024 09:39:25 EDT (-0400)
  Re: POV-Ray & KD-Trees  
From: Daniel Neilson
Date: 3 May 2004 13:35:01
Message: <web.4096824c66fba342302f86c60@news.povray.org>
"Daniel Neilson" <dneilson@here;here.is:cs.ualberta.ca> wrote:
> > I received incorrect output from your patch for the last two tests, let me
> > know if you can verify or if I've set things up wrong.  The problem could
> > be related to the ray flags bug (see my post in povray.unofficial.patches)
>
>  Ack! Thank you for pointing that out. I can't believe that I didn't even
> notice that one. It would appear that my patch isn't doing shadows
> correctly with the radiosity calculations. Odd, since it does them
> correctly on all the SPD scenes... Well, there goes any hope at doing any
> real work today... ;)

 That was easy. Fixed it. Just comment out all lines of the form "if
(shadow_flag) return true;" in Intersect_KD_Tree(). Seems that povray
doesn't use a bounded intersection test for shadow rays for some reason
that I won't claim to understand.

-Daniel


Post a reply to this message

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