POV-Ray : Newsgroups : povray.beta-test : Photonic Disorders : Re: Photonic Disorders Server Time
30 Jul 2024 18:15:57 EDT (-0400)
  Re: Photonic Disorders  
From: Nathan Kopp
Date: 10 Oct 2001 20:31:40
Message: <3bc4e86c$1@news.povray.org>
"Vampyrium" <cyb### [at] hotmailcom> wrote...
>   First issue is related to the distance between light source and target
> object, when the light source moves away the photons begin to act
> erratically. Each pov unit added to that distance will give completely
> different results. Sometimes about half the area where the photons should
> hit is a bit fuzzy and the rest is normal and other times it is fuzzy all
> the way and sometimes it is correct. The resulting fuzziness is always the
> same at identical settings.

I'm fairly confident that this is a floating-point accuracy problem.

As distance increases, the accuracy of the ray-sphere intersection tests
decreases.  The problem is that you are shooting a bunch of rays with the
objects, and the difference between all those rays is minimal... the rays
are practically parallel because the object is so small and the light source
is so far away.  Floating-point accuracy problems then lead to errors in the
result.

If you scale the entire scene together, then you won't notice this problem
until you reach POV's physical limits.  The issue is the distance from the
light to the spheres relative to the size of the objects.
small distance + small spheres = no problem
big distance + big objects = no problem
big distance + small objects = accuracy problems

>   The second issue has to do with the way photons are shot from area
lights.
> If the area_light feature is not used then the photons are shot from the
> corner of the area light (first light?) and this causes caustics to fall
in
> obviously wrong places.

This has been fixed for the next beta.

-Nathan


Post a reply to this message

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