--- ray/src/cv/source.cal 1992/08/18 13:23:14 2.3 +++ ray/src/cv/source.cal 1993/02/24 10:24:58 2.5 @@ -14,9 +14,12 @@ with a rectangular box. lboxcorr provides a more accurate calculation for nearby surfaces, but requires that the source box be centered at the origin. + The dimensions of the box, which must be aligned with + the x,y,z axes, are given in meters regardless of the + units being used in the scene file. A1 - optional multipier - A2,A3,A4 - X,Y,Z dimensions of axis-aligned box + A2,A3,A4 - X,Y,Z dimensions of axis-aligned box (in meters!) } { local definitions } boxprojection = abs(Dx)*A3*A4 + abs(Dy)*A2*A4 + abs(Dz)*A2*A3; @@ -39,5 +42,6 @@ src_phi4 = tri( src_phi, 90 ); { 0-90 } { Type B photometry coordinates } srcB_vert = atan( -Dx/Dz ) / DEGREE; srcB_horiz = Asin(Dy) / DEGREE; - { w/ bilateral symmetry } + { w/ symmetry } +srcB_vert2 = abs( srcB_vert ); srcB_horiz2 = abs( srcB_horiz );