ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/patterns.mat
Revision: 1.2
Committed: Sat Dec 1 02:06:05 2018 UTC (5 years, 6 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R3, HEAD
Changes since 1.1: +3 -3 lines
Log Message:
Finished additions for BSDF's, etc. to complete primitive testing

File Contents

# User Rev Content
1 greg 1.2 # RCSid $Id: patterns.mat,v 1.1 2018/11/21 20:42:58 greg Exp $
2 greg 1.1 #
3     # A set of 9 patterned materials
4     #
5    
6     void brightfunc noisepat
7 greg 1.2 2 '1 - .35*(1+fnoise3(3*Px,3*Py,3*Pz))' .
8 greg 1.1 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 greg 1.2 5 .8 .7 .3 0 0
38 greg 1.1
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