ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/lib/gloss.cal
Revision: 1.1
Committed: Wed Mar 12 17:45:48 2003 UTC (22 years, 2 months ago) by greg
Branch: MAIN
Log Message:
Added the rest of the missing files to ray/lib/

File Contents

# User Rev Content
1 greg 1.1 {
2     Rough surface texture for anisotropic materials.
3    
4     A1 - RMS facet slope (roughness) in x.
5     A2 - roughness in y.
6     A3 - roughness in z.
7     }
8    
9     gloss_dx = A1*nrand(Px*.9113+Py*.3697+Pz*.4468);
10     gloss_dy = A2*nrand(Px*.85875+Py*.1521+Pz*.1782);
11     gloss_dz = A3*nrand(Px*.5992+Py*.7961+Pz*.3213);