forked from CIS565-Fall-2020/Project4-CUDA-Denoiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcornell_diff_mats.txt
175 lines (156 loc) · 2.3 KB
/
cornell_diff_mats.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
// Emissive material (light)
MATERIAL 0
RGB 1 1 1
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 7
// Diffuse white
MATERIAL 1
RGB .98 .98 .98
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0
// Diffuse red
MATERIAL 2
RGB .85 .35 .35
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0
// Diffuse green
MATERIAL 3
RGB .35 .85 .35
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0
// glass white
MATERIAL 4
RGB 0.9 0.9 1
SPECEX 0.96
SPECRGB 0.98 0.98 1
REFL 1
REFR 1.5
REFRIOR 0
EMITTANCE 0
// Diffuse yellow
MATERIAL 5
RGB 1 1 0
SPECEX 0
SPECRGB 1 1 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0
// glass blue
MATERIAL 6
RGB 0.45 0.6 1
SPECEX 0.96
SPECRGB 0.45 0.6 1
REFL 1
REFR 2.417
REFRIOR 0
EMITTANCE 0
// glass purple
MATERIAL 7
RGB 0.5 0.8 1
SPECEX 0.96
SPECRGB 1 0.5 1
REFL 1
REFR 1.7
REFRIOR 0
EMITTANCE 0
// specular orange
MATERIAL 8
RGB 1 0.6 0.1
SPECEX 0.5
SPECRGB 1 0.6 0.1
REFL 1
REFR 0
REFRIOR 0
EMITTANCE 0
// Camera
CAMERA
RES 800 800
FOVY 45
ITERATIONS 1000
DEPTH 8
FOCALDIST 0
LENSRADIUS 0
FILE cornell_diff_mats
EYE 0 5 5
LOOKAT 0 5 -1
UP 0 1 0
// Ceiling light
OBJECT 0
cube
material 0
TRANS 0 10 0
ROTAT 0 0 0
SCALE 3 .3 3
// Floor
OBJECT 1
cube
material 1
TRANS 0 0 0
ROTAT 0 0 0
SCALE 10 .01 10
// Ceiling
OBJECT 2
cube
material 1
TRANS 0 10 0
ROTAT 0 0 90
SCALE .01 10 10
// Back wall
OBJECT 3
cube
material 1
TRANS 0 5 -5
ROTAT 0 90 0
SCALE .01 10 10
// Left wall
OBJECT 4
cube
material 2
TRANS -5 5 0
ROTAT 0 0 0
SCALE .01 10 10
// Right wall
OBJECT 5
cube
material 3
TRANS 5 5 0
ROTAT 0 0 0
SCALE .01 10 10
// Sphere
OBJECT 6
sphere
MATERIAL 5
TRANS -2 6 -1.5
ROTAT 0 0 0
SCALE 3 3 3
// Sphere
OBJECT 7
sphere
MATERIAL 7
TRANS 0 3 -1
ROTAT 0 0 0
SCALE 3 3 3
// Sphere
OBJECT 8
sphere
MATERIAL 8
TRANS 2 6 -1.5
ROTAT 0 0 0
SCALE 3 3 3