File: triangle_instancing_mb.xml

package info (click to toggle)
embree 4.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100,656 kB
  • sloc: cpp: 228,918; xml: 40,944; ansic: 2,685; python: 812; sh: 635; makefile: 228; csh: 42
file content (44 lines) | stat: -rw-r--r-- 891 bytes parent folder | download
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
<?xml version="1.0"?>
<scene>
  <Group id="0">
    <TriangleMesh id="1">
        <positions>
          -2 -1 1
           0 -1 1
          -1  1 1
        </positions>
      <triangles>
        0 1 2
      </triangles>
      <material>
        <code>"OBJ"</code>
        <parameters>
          <float3 name="Kd">1 1 1</float3>
        </parameters>
      </material>
    </TriangleMesh>
    <Transform id="2" time_steps="2">
      <AffineSpace>
        1.0 0.0 0.0 2.0
        0.0 1.0 0.0 0.0
        0.0 0.0 1.0 0.0
      </AffineSpace>
      <AffineSpace>
        1.0 0.0 0.0 3.0
        0.0 1.0 0.0 0.0
        0.0 0.0 1.0 0.0
      </AffineSpace>
      <ref id="1"/>
    </Transform>
    <!--
    <Transform>
      <AffineSpace>
        1.0 0.0 0.0 2.0
        0.0 1.0 0.0 0.0
        0.0 0.0 1.0 0.0
      </AffineSpace>
      <ref id="1"/>
    </Transform>
    -->
  </Group>
</scene>