POV-Ray : Newsgroups : povray.advanced-users : Photons, in version 3.6 to 3.7 : Re: Photons, in version 3.6 to 3.7 Server Time
23 Apr 2024 13:27:41 EDT (-0400)
  Re: Photons, in version 3.6 to 3.7  
From: clipka
Date: 10 May 2019 08:36:12
Message: <5cd5703c$1@news.povray.org>
Am 09.05.2019 um 20:51 schrieb William F Pokorny:

> but I think the right thing to do is probably to change the 
> ray.IsImageRay() definition in ray.h from:
> 
>   bool IsImageRay() const { return primaryRay || (refractionRay && 
> !reflectionRay && !radiosityRay); }
> 
> to:
> 
> bool IsImageRay() const { return (primaryRay && !photonRay) || 
> (refractionRay && !reflectionRay && !photonRay && !radiosityRay); }
> 
> or suppose some photon code specific precond a possibility too. My guess 
> at the moment is that this 3.6 to 3.7 change was not intentional.
> 
> Christoph?

I need to examine this closer. The ray conditions have proven to be a 
tricky business before (which is probably also why this change slipped 
in there in the first place; I'm pretty sure it is unintentional indeed).

Can someone submit a GitHub issue for this?


Post a reply to this message

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