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

Comparing ray/src/gen/perezlum.cal (file contents):
Revision 1.1 by greg, Sat Jun 6 20:20:04 2009 UTC vs.
Revision 1.2 by greg, Fri Jan 12 23:48:09 2018 UTC

# Line 19 | Line 19 | skybright = wmean((Dz+1.01)^10, intersky, (Dz+1.01)^-1
19   wmean(a, x, b, y) = (a*x+b*y)/(a+b);
20  
21   intersky = if( (Dz-0.01),  
22 <                A1 * (1 + A3*Exp(A4/Dz) ) * ( 1 + A5*Exp(A6*gamma) + A7*cos(gamma)*cos(gamma) ),
23 <                A1 * (1 + A3*Exp(A4/0.01) ) * ( 1 + A5*Exp(A6*gamma) + A7*cos(gamma)*cos(gamma) ) );
22 >                A1 * (1 + A3*Exp(A4/Dz) ) * ( 1 + A5*Exp(A6*gamma) + A7*cosgamma*cosgamma ),
23 >                A1 * (1 + A3*Exp(A4/0.01) ) * ( 1 + A5*Exp(A6*gamma) + A7*cosgamma*cosgamma ) );
24  
25                          
26  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines