-
Notifications
You must be signed in to change notification settings - Fork 0
/
cornell.sc
63 lines (56 loc) · 1021 Bytes
/
cornell.sc
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
image {
resolution 800 600
aa 0 2
filter gaussian
}
gi {
type igi
samples 64 % number of virtual photons per set
sets 1 % number of sets (increase this to translate shadow boundaries into noise)
b 0.00003 % bias - decrease this values until bright spots dissapear
bias-samples 0 % set this >0 to make the algorithm unbiased
}
camera {
type pinhole
eye 0 -205 50
target 0 0 50
up 0 0 1
fov 45
aspect 1.333333
}
shader {
name Mirror
type mirror
refl 0.7 0.7 0.7
}
shader {
name Glass
type glass
eta 1.6
color 1 1 1
}
object {
shader none
type cornellbox
corner0 -60 -60 0
corner1 60 60 100
left 0.99 0.1 0.1
right 0.1 0.1 0.99
top 0.8 0.8 0.8
bottom 0.8 0.8 0.8
back 0.1 0.99 0.1
emit 30 30 30
samples 32
}
object {
shader Mirror
type sphere
c -30 30 20
r 20
}
object {
shader Glass
type sphere
c 28 2 20
r 20
}