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

Comparing ray/src/cal/cal/noise.cal (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:21 2003 UTC vs.
Revision 1.2 by greg, Wed Dec 15 01:40:11 2010 UTC

# Line 8 | Line 8 | hermite(p0,p1,r0,r1,t) =       p0 * ((2*t-3)*t*t+1) +
8   rand2a(x) = 1-2*rand(.69692*x);
9   rand2b(x) = 1-2*rand(.05393*x);
10  
11 < noise(x,y) = noise_1(floor(x),frac(x),ceil(x));
11 > noise(x) = noise_1(floor(x),frac(x),ceil(x));
12  
13   noise_1(xl,xd,xu) = hermite(
14                                  rand2a(xl),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines