[Radiance-general] Re: implementing Radiance reflection model

Greg Ward gregoryjward at gmail.com
Fri Jan 14 06:16:10 CET 2005


Hi Tarik,

> So for the ambient light of .5 .5 .5 I just add it at the end? I don't 
> need to
> multiply by the diffuse component rho_diffuse?

That's correct -- Radiance handles multiplication of the ambient with 
the various surfaces.  (It would have to for any scene containing more 
than one surface type.)

-Greg

> From: Tarik Rahman <tarik.rahman at ed.ac.uk>
> Date: January 12, 2005 8:34:14 AM PST
>
> Thanks for that, made the correction for tan^2(delta) and delta is as 
> you say
> delta = normal.dotProduct(halfwayVectorUnit);
> where
> halfwayVector = point_to_lightUnit  - point_to_camUnit;
> halfwayVectorUnit = halfwayVector.normalize();
>
>
> So for the ambient light of .5 .5 .5 I just add it at the end? I don't 
> need to
> multiply by the diffuse component rho_diffuse?
>
> Tarik




More information about the Radiance-general mailing list