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.9 by greg, Sat Feb 22 02:07:23 2003 UTC vs.
Revision 2.10 by greg, Thu Jan 24 23:15:46 2008 UTC

# Line 4 | Line 4
4  
5          Theta is measured from the negative z-axis.
6          Phi is measured from the positive x-axis (0 degrees)
7 <                towards the negative y-axis (90 degrees).
7 >                towards the positive y-axis (90 degrees).
8  
9          srcB_vert and srcB_horiz are angles
10          used in type B photometry.
# Line 39 | Line 39 | lboxcorr(v) = A1 * v / lboxprojection; { local box cor
39   cylcorr(v) = A1 * v / cylprojection;    { cylinder correction }
40  
41   src_theta = Acos(Dz) / DEGREE;                  { 0-180 }
42 < src_phi = mod( Atan2(Dy, -Dx) / DEGREE, 360 );  { 0-360 }
42 > src_phi = mod( Atan2(-Dy, -Dx) / DEGREE, 360 ); { 0-360 }
43                                  { bilateral symmetry }
44   src_phi2 = tri( src_phi, 180 );         { 0-180 }
45                                  { quadrilateral symmetry }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines