Am 17.05.2010 03:32, schrieb Edouard:
> Is it the loop with the comment "calculate s_prime_out"?
Yup.
> It looks like the random number can simply be scaled so that you don't need the
> loop at all...
No. The proper solution is much simpler: Re-rolling the dice was the
wrong thing to do in the first place; such an event would be equivalent
to a photon happening to pass through unscattered and unabsorbed, so
should be dealt with accordingly.
> At the very worst, can you make a change to ensure it doesn't hang - some sort
> of bailout condition? Do you want me to add a bug to flyspray for it?
Never mind. There's already a patch waiting to be released with beta 38.
Post a reply to this message
|