File: subdiv7.xml

package info (click to toggle)
embree 4.4.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 99,492 kB
  • sloc: cpp: 224,036; xml: 40,944; ansic: 2,731; python: 812; sh: 639; makefile: 228; csh: 42
file content (64 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0"?>

<scene>
  <Group>
    <SubdivisionMesh>

      <positions>
        -1.0 -1.0 0.0
         0.0 -1.0 0.0 
        +1.0 -1.0 0.0
        +2.0 -1.0 0.0

        -1.0  0.0 0.0
         0.0  0.0 0.0
        +1.0  0.0 0.0
        +2.0  0.0 0.0

        -1.0 +1.0 0.0
         0.0 +1.0 0.0
        +1.0 +1.0 0.0
        +2.0 +1.0 0.0

        -1.0 +2.0 0.0
         0.0 +2.0 0.0
        +1.0 +2.0 0.0
        +2.0 +2.0 0.0

      </positions>

      <position_indices>
        0 1 5 4
        1 2 6 5
        2 3 7 6
        4 5 9 8 
        6 7 11 10
        8 9 13 12
        9 10 14 13
        10 11 15 14
      </position_indices>

      <faces>
        4 4 4 4 4 4 4 4
      </faces>

      <vertex_creases>
        0 3 12 15
        5 6 9 10 
      </vertex_creases>

      <vertex_crease_weights>
        +inf +inf +inf +inf
        +inf +inf +inf +inf
      </vertex_crease_weights>

      <material>
        <code>"OBJ"</code>
        <parameters>
          <float3 name="Kd">1 1 1</float3>
        </parameters>
      </material>

    </SubdivisionMesh>
  </Group>
</scene>