--- ray/src/rt/rayinit.cal 1998/10/19 15:45:30 2.12 +++ ray/src/rt/rayinit.cal 2003/03/11 19:29:05 2.14 @@ -1,5 +1,4 @@ -{ SCCSid "$SunId$ LBL" } - +{ RCSid $Id: rayinit.cal,v 2.14 2003/03/11 19:29:05 greg Exp $ } { Initialization file for Radiance. @@ -18,6 +17,10 @@ Kx, Ky, Kz - world k unit vector arg(n) - real arguments, arg(0) is count + For mesh objects, the following are available: + + Lu, Lv - local (u,v) coordinates + For brdf functions, the following are also available: NxP, NyP, NzP - perturbed surface normal @@ -88,6 +91,7 @@ FTINY : 1e-7; and(a,b) : if( a, b, a ); or(a,b) : if( a, a, b ); not(a) : if( a, -1, 1 ); +xor(a,b) : if( a, not(b), b ); abs(x) : if( x, x, -x ); sgn(x) : if( x, 1, if(-x, -1, 0) ); sq(x) : x*x;