Revision: | 1.2 |
Committed: | Tue Mar 18 17:30:17 2003 UTC (22 years, 1 month ago) by greg |
Branch: | MAIN |
CVS Tags: | HEAD |
Changes since 1.1: | +0 -0 lines |
State: | FILE REMOVED |
Log Message: | Decided to move ray/lib directory into non-CVS distribution |
# | Content |
---|---|
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); |