[Radiance-general] pmapdump: -r is ignored

Roland Schregle roland.schregle at gmail.com
Tue Dec 5 08:19:16 PST 2017


On Tue, 05 Dec 2017 15:24:08 +0100, Axel Jacobs <jacobs.axel at gmail.com>  
wrote:

> I am playing with a very simple room that has a light pipe in it.
> I've created a global and a caustic photon map.  When running them
> through pmapdump, all caustic photons have a zero radius.  I am
> attempting to fix this with the -r option, but it gets ignored.  Is
> this expected?
>
> The man page states that
> "In cases where the distribution is substantially nonuniform (e.g.
> highly localised caustics) the radius can be manually corrected with
> this option."
>
> Does pmapdump know whether it is dealing with a 'substantially
> nonuniform distribution', and ignore -r if it is not?

Hi Axel,

Actually, the -r option is just a scaling factor, so scaling zero doesn't  
change anything. The basic radius is derived from the cube root of the  
photon cloud's bounding box volume divided by the number of dumped  
spheres.  In this case it would a imply a zero volume. What's the pmap's  
bbox reported by getinfo?

--Roland



More information about the Radiance-general mailing list