1 |
< |
{ SCCSid "$SunId$ LBL" } |
2 |
< |
|
1 |
> |
{ RCSid $Id$ } |
2 |
|
{ |
3 |
|
Initialization file for Radiance. |
4 |
|
|
17 |
|
Kx, Ky, Kz - world k unit vector |
18 |
|
arg(n) - real arguments, arg(0) is count |
19 |
|
|
20 |
+ |
For mesh objects, the following are available: |
21 |
+ |
|
22 |
+ |
Lu, Lv - local (u,v) coordinates |
23 |
+ |
|
24 |
|
For brdf functions, the following are also available: |
25 |
|
|
26 |
|
NxP, NyP, NzP - perturbed surface normal |
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; |