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
|
<?xml version="1.0"?>
<scene>
<Group>
<PerspectiveCamera name="camera0" from="-9.333145142 2.932261944 -3.125504494" to="-10.18498802 2.06202507 -5.499505043" up="0 1 0" fov="95"/>
<DirectionalLight>
<AffineSpace>
1 0 0 0
0 0 -1 0
0 1 -0.4 0
</AffineSpace>
<E>3 3 3</E>
</DirectionalLight>
<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">0.8 0.8 0.9</float3>
</parameters>
</material>
</TriangleMesh>
<!-- twisted varying radius loop -->
<Transform>
<AffineSpace translate="-10 1 -4"/>
<Curves basis="bezier" type="normal_oriented" tessellation_rate="16">
<positions>
-2 0 0 0.1
5 3 0 0.2
-5 3 0 0.2
2 0 -1 0.1
</positions>
<normals>
0 1 0
0 0 1
0 0 0
0 0 0
</normals>
<indices>
0
</indices>
<material>
<code>"OBJ"</code>
<parameters>
<float3 name="Kd">1 0 0</float3>
</parameters>
</material>
</Curves>
</Transform>
</Group>
</scene>
|