forked from msu-graphics-group/scenes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbunny_plane.xml
110 lines (110 loc) · 4.88 KB
/
bunny_plane.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
108
109
110
<?xml version="1.0"?>
<textures_lib total_chunks="4">
<texture id="0" name="Map#0" loc="data/chunk_00000.image4ub" offset="8" bytesize="16" width="2" height="2" dl="0" />
</textures_lib>
<materials_lib>
<material id="0" name="mysimplemat" type="hydra_material">
<diffuse brdf_type="lambert">
<color val="0.5 0.5 0.5" />
</diffuse>
</material>
<material id="1" name="red" type="hydra_material">
<diffuse brdf_type="lambert">
<color val="0.5 0.0 0.0" />
</diffuse>
</material>
<material id="2" name="green" type="hydra_material">
<diffuse brdf_type="lambert">
<color val="0.0 0.5 0.0" />
</diffuse>
</material>
<material id="3" name="white" type="hydra_material">
<diffuse brdf_type="lambert">
<color val="0.5 0.5 0.5" />
</diffuse>
</material>
<material id="4" name="gold" type="hydra_material">
<diffuse brdf_type="lambert">
<color val="0.40 0.4 0" />
</diffuse>
<reflectivity brdf_type="torranse_sparrow">
<color val="0.10 0.10 0" />
<glossiness val="0.850000024" />
</reflectivity>
</material>
<material id="5" name="my_area_light_material" type="hydra_material" light_id="0" visible="1">
<emission>
<color val="25 25 25" />
</emission>
</material>
</materials_lib>
<geometry_lib total_chunks="4">
<mesh id="0" name="plane" type="vsgf" bytesize="280" loc="data/plane.vsgf" offset="0" vertNum="4" triNum="2" dl="0" path="" bbox=" -10 10 0 0 -10 10">
<positions type="array4f" bytesize="64" offset="24" apply="vertex" />
<normals type="array4f" bytesize="64" offset="88" apply="vertex" />
<tangents type="array4f" bytesize="64" offset="152" apply="vertex" />
<texcoords type="array2f" bytesize="32" offset="216" apply="vertex" />
<indices type="array1i" bytesize="24" offset="248" apply="tlist" />
<matindices type="array1i" bytesize="8" offset="272" apply="primitive" />
</mesh>
<mesh id="1" name="bunny" type="vsgf" bytesize="7897984" loc="data/bunny.vsgf" offset="0" vertNum="99879" triNum="144046" dl="0" path="" bbox="-0.9559 0.6579 0.021 1.6418 -0.543 0.6895">
<positions type="array4f" bytesize="1598064" offset="24" apply="vertex" />
<normals type="array4f" bytesize="1598064" offset="1598088" apply="vertex" />
<tangents type="array4f" bytesize="1598064" offset="3196152" apply="vertex" />
<texcoords type="array2f" bytesize="799032" offset="4794216" apply="vertex" />
<indices type="array1i" bytesize="1728552" offset="5593248" apply="tlist" />
<matindices type="array1i" bytesize="576184" offset="7321800" apply="primitive" />
</mesh>
<mesh id="2" name="my_area_light_lightmesh" type="vsgf" bytesize="280" loc="data/chunk_00003.vsgf" offset="0" vertNum="4" triNum="2" dl="0" path="" light_id="0" bbox=" -1 1 0 0 -1 1">
<positions type="array4f" bytesize="64" offset="24" apply="vertex" />
<normals type="array4f" bytesize="64" offset="88" apply="vertex" />
<tangents type="array4f" bytesize="64" offset="152" apply="vertex" />
<texcoords type="array2f" bytesize="32" offset="216" apply="vertex" />
<indices type="array1i" bytesize="24" offset="248" apply="tlist" />
<matindices type="array1i" bytesize="8" offset="272" apply="primitive" />
</mesh>
</geometry_lib>
<lights_lib>
<light id="0" name="my_area_light" type="area" shape="rect" distribution="diffuse" visible="1" mat_id="5" mesh_id="2">
<size half_length="1" half_width="1" />
<intensity>
<color val="1 1 1" />
<multiplier val="25" />
</intensity>
</light>
</lights_lib>
<cam_lib>
<camera id="0" name="my camera" type="uvn">
<fov>45</fov>
<nearClipPlane>0.01</nearClipPlane>
<farClipPlane>100.0</farClipPlane>
<up>0 1 0</up>
<position>0 0 14</position>
<look_at>0 0 0</look_at>
</camera>
</cam_lib>
<render_lib>
<render_settings type="HydraModern" id="0">
<width>512</width>
<height>512</height>
<method_primary>pathtracing</method_primary>
<method_secondary>pathtracing</method_secondary>
<method_tertiary>pathtracing</method_tertiary>
<method_caustic>pathtracing</method_caustic>
<trace_depth>6</trace_depth>
<diff_trace_depth>3</diff_trace_depth>
<maxRaysPerPixel>1024</maxRaysPerPixel>
<qmc_variant>7</qmc_variant>
</render_settings>
</render_lib>
<scenes>
<scene id="0" name="my scene" discard="1" bbox=" -10 10 -4.137 0.7254 -10 10">
<remap_lists>
<remap_list id="0" size="2" val="0 4 " />
</remap_lists>
<instance id="0" mesh_id="1" rmap_id="0" scn_id="0" scn_sid="0" matrix="3 0 0 1 0 3 0 -4.2 0 0 3 0 0 0 0 1 " />
<instance id="1" mesh_id="0" rmap_id="-1" scn_id="0" scn_sid="0" matrix="1 0 0 0 0 1 0 -4 0 0 1 0 0 0 0 1 " />
<instance_light id="0" light_id="0" matrix="1 0 0 0 0 1 0 3.85 0 0 1 0 0 0 0 1 " lgroup_id="-1" />
<instance id="3" mesh_id="2" rmap_id="-1" matrix="1 0 0 0 0 1 0 3.85 0 0 1 0 0 0 0 1 " light_id="0" linst_id="0" />
</scene>
</scenes>