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

Comparing ray/src/rt/rayinit.cal (file contents):
Revision 2.12 by gwlarson, Mon Oct 19 15:45:30 1998 UTC vs.
Revision 2.15 by greg, Mon Mar 25 16:10:00 2013 UTC

# Line 1 | Line 1
1 < { SCCSid "$SunId$ LBL" }
2 <
1 > { RCSid $Id$ }
2   {
3          Initialization file for Radiance.
4  
# Line 18 | Line 17
17          Kx, Ky, Kz                      - world k unit vector
18          arg(n)                          - real arguments, arg(0) is count
19  
20 <        For brdf functions, the following are also available:
20 >        For mesh objects, the following are available:
21  
22 +        Lu, Lv                          - local (u,v) coordinates
23 +
24 +        For *func & *data materials, the following are also available:
25 +
26          NxP, NyP, NzP                   - perturbed surface normal
27          RdotP                           - perturbed ray dot product
28          CrP, CgP, CbP                   - perturbed material color
# Line 38 | Line 41
41  
42          sin(x), cos(x), tan(x),
43          asin(x), acos(x),
44 <        atan(x), atan2(y,x)             - standard trig functions
44 >        atan(x), atan2(y,x)             - standard trig functions (radians)
45  
46          floor(x), ceil(x)               - g.l.b. & l.u.b.
47  
# Line 88 | Line 91 | FTINY : 1e-7;
91   and(a,b) : if( a, b, a );
92   or(a,b) : if( a, a, b );
93   not(a) : if( a, -1, 1 );
94 + xor(a,b) : if( a, not(b), b );
95   abs(x) : if( x, x, -x );
96   sgn(x) : if( x, 1, if(-x, -1, 0) );
97   sq(x) : x*x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines