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
|
<?xml version="1.0"?>
<scene>
<Group>
<TriangleMesh>
<positions>
-20 0 -20
-20 0 +20
+20 0 +20
+20 0 -20
</positions>
<triangles>
0 2 1
0 3 2
</triangles>
<material>
<code>"OBJ"</code>
<parameters>
<float3 name="Kd">1 1 1</float3>
</parameters>
</material>
</TriangleMesh>
<Curves type="normal_oriented" basis="bezier">
<positions>
0 0 -2 0.2
8 4 -2 0.2
-4 4 -2 0.2
4 0 -3 0.2
</positions>
<normals>
0 0 -1
0 1 0
0 1 0
0 0 -1
</normals>
<indices>
0 0
</indices>
<material>
<code>"OBJ"</code>
<parameters>
<float3 name="Kd">1 0 0</float3>
</parameters>
</material>
</Curves>
</Group>
</scene>
|