ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/skybright.cal
(Generate patch)

Comparing ray/src/gen/skybright.cal (file contents):
Revision 2.2 by greg, Fri Mar 20 12:23:37 1992 UTC vs.
Revision 2.3 by greg, Wed Jun 17 11:15:32 1992 UTC

# Line 20 | Line 20 | skybright = wmean((Dz+1.01)^10, if(A1, cloudysky, sunn
20  
21   wmean(a, x, b, y) = (a*x + b*y) / (a + b);
22  
23 < cloudysky = A2 * if(A1-1, 1, (1 + 2*Dz)/3);
23 > cloudysky = A2 * if(A1-1.5, 1, (1 + 2*Dz)/3);
24  
25   sunnysky = A2 * (.91 + 10*exp(-3*gamma) + .45*cosgamma*cosgamma)
26                *  if( Dz - .01, 1.0 - exp(-.32/Dz), 1.0) / A4;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines