[Radiance-general] usage of rtrace within a material

Greg Ward gregoryjward at gmail.com
Thu Jan 31 09:18:01 PST 2013


I should have said specifically that the source calculation doesn't work if the light bends and stays bent.  In a more typical situation where the dielectric is in two parallel planar surfaces, the ray straightens out again and everything works just fine.  Radiance started out only having the dielectric material -- glass and trans types were added much later.

Cheers,
-Greg

> From: Greg Ward <gregoryjward at gmail.com>
> Date: January 31, 2013 9:08:04 AM PST
> 
> Hi Lars,
> 
> The physics of this situation is unusual, and the Radiance source code does apply a correction for the "solid angle ratio" caused by lensing at the surface.  However, Radiance doesn't track source directions properly inside a dielectric or through a refracting object -- it naively sends rays in a straight line towards the source, missing it in cases where significant refraction occurs.  This is why a straight ambient calculation works but the direct calculation does not.
> 
> Cheers,
> -Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130131/3c59a39a/attachment-0001.html>


More information about the Radiance-general mailing list