1 |
# RCSid $Id: mesh.rif,v 1.1 2018/11/17 22:09:12 greg Exp $ |
2 |
# |
3 |
# A set of 9 patterned materials |
4 |
# |
5 |
|
6 |
void brightfunc noisepat |
7 |
2 '1 - .4*(1+fnoise3(3*Px,3*Py,3*Pz))' . |
8 |
0 |
9 |
0 |
10 |
|
11 |
noisepat plastic base_mat |
12 |
0 |
13 |
0 |
14 |
5 .8 .8 .8 .03 .08 |
15 |
|
16 |
inherit alias base_mat1 base_mat |
17 |
|
18 |
void colortext textpat |
19 |
3 helvet.fnt . Color |
20 |
0 |
21 |
16 |
22 |
-5.6 .75 .5 |
23 |
0 .08 0 |
24 |
.2 0 0 |
25 |
1 .1 .1 |
26 |
.1 .1 1 |
27 |
-.2 |
28 |
|
29 |
textpat alias mat1 base_mat |
30 |
|
31 |
void alias mat3 base_mat |
32 |
|
33 |
# Intentionally redefining base_mat |
34 |
void plastic base_mat |
35 |
0 |
36 |
0 |
37 |
5 .8 .7 .6 0 0 |
38 |
|
39 |
void brighttext textpat |
40 |
3 helvet.fnt . Black |
41 |
0 |
42 |
11 |
43 |
-4.1 .75 .5 |
44 |
0 .08 0 |
45 |
.2 0 0 |
46 |
.01 1 |
47 |
|
48 |
textpat alias mat4 base_mat |
49 |
|
50 |
void brighttext textpat |
51 |
2 helvet.fnt test.txt |
52 |
0 |
53 |
12 |
54 |
-4.2 2.3 .5 |
55 |
0 .025 0 |
56 |
.07 0 0 |
57 |
1 .01 |
58 |
.15 |
59 |
|
60 |
textpat alias tempmat base_mat |
61 |
|
62 |
inherit alias mat5 tempmat |
63 |
|
64 |
void colortext textpat2 |
65 |
2 helvet.fnt test.txt |
66 |
0 |
67 |
15 |
68 |
-4.2 3.8 .5 |
69 |
0 .025 0 |
70 |
.07 0 0 |
71 |
.1 .7 .5 |
72 |
1 1 1 |
73 |
|
74 |
|
75 |
textpat2 alias mat6 base_mat1 |
76 |
|
77 |
void colorfunc cfpat |
78 |
4 .5+.2*noise3x(5*Px,5*Py,5*Pz) .5+.2*noise3y(5*Px,5*Py,5*Pz) |
79 |
.5+.2*noise3z(5*Px,5*Py,5*Pz) . |
80 |
0 |
81 |
0 |
82 |
|
83 |
cfpat alias mat7 base_mat1 |
84 |
|
85 |
noisepat alias mat8 base_mat |
86 |
|
87 |
cfpat alias mat9 base_mat |
88 |
|
89 |
inherit alias mat2 base_mat1 |