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

Comparing ray/src/cv/source.cal (file contents):
Revision 2.5 by greg, Wed Feb 24 10:24:58 1993 UTC vs.
Revision 2.6 by greg, Mon Apr 5 16:40:10 1993 UTC

# Line 3 | Line 3
3   {
4          Source distribution coordinates (degrees).
5  
6 <        Theta is measured from the negative z-axis,
7 <        phi is measured from the positive x-axis
8 <        according to the right-hand rule.
6 >        Theta is measured from the negative z-axis.
7 >        Phi is measured from the positive x-axis (0 degrees)
8 >                towards the negative y-axis (90 degrees).
9  
10          srcB_vert and srcB_horiz are angles
11          used in type B photometry.
# Line 33 | Line 33 | boxcorr(v) = A1 * v / boxprojection;   { correction for
33   lboxcorr(v) = A1 * v / lboxprojection;  { local box correction }
34  
35   src_theta = Acos(Dz) / DEGREE;                  { 0-180 }
36 < src_phi = mod( atan2(Dy, Dx) / DEGREE, 360 );   { 0-360 }
36 > src_phi = mod( atan2(Dy, -Dx) / DEGREE, 360 );  { 0-360 }
37                                  { bilateral symmetry }
38   src_phi2 = tri( src_phi, 180 );         { 0-180 }
39                                  { quadrilateral symmetry }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines