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.6 by greg, Thu May 15 17:30:53 2014 UTC vs.
Revision 2.7 by greg, Wed Sep 3 14:05:55 2014 UTC

# Line 29 | Line 29 | dgx = $19*ux + $20*vx;
29   dgy = $19*uy + $20*vy;
30   dgz = $19*uz + $20*vz;
31   dg = sqrt(dgx*dgx + dgy*dgy + dgz*dgz);
32 < val = avr + avg + avb;          { ambient position color }
32 >                                { corral flags pattern }
33 > cflags = $21;
34 >                                { ambient position color }
35 > val = avr + avg + avb;
36   agr = select(lvl+1, val, 0, 0, val, 0, val, val);
37   agg = select(lvl+1, 0, val, 0, val, val, 0, val/2);
38   agb = select(lvl+1, 0, 0, val, 0, val, val, val/2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines