-
Notifications
You must be signed in to change notification settings - Fork 0
/
cbox_photon.xml
executable file
·107 lines (86 loc) · 2.7 KB
/
cbox_photon.xml
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
<?xml version='1.0' encoding='utf-8'?>
<scene>
<!-- <integrator type="photonmapper">
<integer name="photonCount" value="100000"/>
<float name="photonRadius" value="0"/>
<integer name="causticPhotonCount" value="50000"/>
<float name="causticPhotonRadius" value="0"/>
<integer name="finalGatherSamples" value="5"/>
<float name="gatherAngle" value="10"/>
<integer name="numLambdas" value="50"/>
</integrator> -->
<integrator type="path_mis"/>
<camera type="perspective">
<float name="fov" value="27.7856"/>
<transform name="toWorld">
<scale value="-1,1,1"/>
<lookat target="0, 0.893051, 4.41198" origin="0, 0.919769, 5.41159" up="0, 1, 0"/>
</transform>
<integer name="height" value="600"/>
<integer name="width" value="800"/>
</camera>
<sampler type="independent">
<integer name="sampleCount" value="512"/>
</sampler>
<mesh type="obj">
<string name="filename" value="../model/walls.obj"/>
<bsdf type="diffuse">
<color name="albedo" value="0.725 0.71 0.68"/>
</bsdf>
</mesh>
<mesh type="obj">
<string name="filename" value="../model/rightwall.obj"/>
<bsdf type="diffuse">
<color name="albedo" value="0.161 0.133 0.427"/>
</bsdf>
</mesh>
<mesh type="obj">
<string name="filename" value="../model/leftwall.obj"/>
<bsdf type="diffuse">
<color name="albedo" value="0.630 0.065 0.05"/>
</bsdf>
</mesh>
<!-- <mesh type="sphere">
<point name="center" value="-0.421400 0.332100 -0.280000" />
<float name="radius" value="0.3263" />
<bsdf type="mirror"/>
</mesh> -->
<!-- <mesh type="sphere">
<point name="center" value="0.445800 0.332100 0.376700" />
<float name="radius" value="0.3263" />
<bsdf type="dielectric"/>
</mesh> -->
<mesh type="obj">
<string name="filename" value="../model/teapot.obj"/>
<transform name="toWorld">
<scale value="0.15,0.15,0.15"/>
<rotate axis="1,0,0" angle="0"/>
<translate value="-0.3,0,0"/>
</transform>
<bsdf type="mirror"/>
</mesh>
<mesh type="obj">
<string name="filename" value="../model/lucy.obj"/>
<transform name="toWorld">
<scale value="0.0008, 0.0008, 0.0008"/>
<rotate axis="1,0,0" angle="-90"/>
<rotate axis="0,1,0" angle="180"/>
<translate value="1,0.48,-0.4"/>
</transform>
<bsdf type="microfacet">
<color name="albedo" value="5.0,5.0,5.0"/>
<string name="NDF" value="GGX"/>
<boolean name="visibleNormalSampling" value="true" />
<float name="alpha" value="0.5"/>
<float name="intIOR" value="1.5"/>
<float name="extIOR" value="1.0"/>
<color name="kd" value="0.1,0.1,0.1"/>
</bsdf>
</mesh>
<mesh type="obj">
<string name="filename" value="../model/light.obj"/>
<emitter type="area">
<color name="radiance" value="15 15 15"/>
</emitter>
</mesh>
</scene>