/usr/share/radiance/woodtex.cal is in radiance-materials 4R1+20120125-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
Wood grain texture:
A1 = roughness (0 < roughness < 1).
}
xgrain_dx = 0; { dx along x axis }
xgrain_dy = A1 * Rdot * sin(wztexang); { dy along x axis }
xgrain_dz = A1 * Rdot * cos(wztexang); { dz along x axis }
wxtexang = PI * fnoise3(Px/10, Py, Pz);
ygrain_dx = A1 * Rdot * cos(wztexang); { dx along y axis }
ygrain_dy = 0; { dy along y axis }
ygrain_dz = A1 * Rdot * sin(wztexang); { dz along y axis }
wytexang = PI * fnoise3(Px, Py/10, Pz);
zgrain_dx = A1 * Rdot * cos(wztexang); { dx along z axis }
zgrain_dy = A1 * Rdot * sin(wztexang); { dy along z axis }
zgrain_dz = 0; { dz along z axis }
wztexang = PI * fnoise3(Px, Py, Pz/10);
|