POV-Ray : Newsgroups : povray.newusers : Extinction value of scattering and mirrors : Re: Extinction value of scattering and mirrors Server Time
29 Apr 2024 18:57:11 EDT (-0400)
  Re: Extinction value of scattering and mirrors  
From: clipka
Date: 19 Jul 2016 13:08:09
Message: <578e5e79$1@news.povray.org>
Am 19.07.2016 um 17:31 schrieb fsv2712:
> I can decrease spacing to 0.000000001 or increase the count value. But no matter
> how I construct the reflector, it doesn't reflect light if the light source is
> placed at his axis or very near it.
> 
> Furthermore, if I use a plane instead of media the problem remains.
> 
> What draws my attention is that with this geometry for the scene, the number of
> photons shot is always 5 despite the value of spacing or count.

I've just had a look at the potons code, and from what I see it was
designed without paying any thought to the possibility that the light
source could be inside the photon target's bounding sphere (computed as
the sphere that touches all the corners of the bounding box).

It seems to me that the code happens to work for most such cases, but
that's probably more or less coincidental -- and for cases where the
light source happens to be at the center of that bounding sphere, I'm
not at all surprised that the code fails miserably.

One possible workaround would be to create the reflector out of multiple
segments, and making sure that their individual bounding boxes are
centered off the cylinder's axis.


Post a reply to this message

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