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

Comparing ray/src/util/rambpos.cal (file contents):
Revision 2.2 by greg, Fri Apr 25 18:13:47 2014 UTC vs.
Revision 2.3 by greg, Fri Apr 25 22:56:06 2014 UTC

# Line 14 | Line 14 | ux = $7; uy = $8; uz = $9;
14   vx = ny*uz - nz*uy;
15   vy = nz*ux - nx*uz;
16   vz = nx*uy - ny*ux;
17 < avr = $14; avg = $15; avb = $16;
17 > avr = .5/PI*$14; avg = .5/PI*$15; avb = .5/PI*$16;
18                                  { magnified position gradient }
19   pgx = ($17*ux + $18*vx)/SF;
20   pgy = ($17*uy + $18*vy)/SF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines