File: curve_geometry.xml

package info (click to toggle)
embree 3.12.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,412 kB
  • sloc: cpp: 173,822; xml: 3,737; ansic: 2,955; python: 1,628; sh: 480; makefile: 193; csh: 42
file content (111 lines) | stat: -rw-r--r-- 2,343 bytes parent folder | download | duplicates (3)
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
111
<?xml version="1.0"?>

<scene>
  <Group>

    <PerspectiveCamera name="camera0" from="0.244145155 5.310973883 7.09447964281" to="0.0 0.0 0.0" up="0 1 0" fov="90"/>
    
    <DirectionalLight>
      <AffineSpace>
        1 0 0 0
        0 0 -1 0
        0 1 0 0
      </AffineSpace>
      <E>3 3 3</E>
    </DirectionalLight>

    <Curves basis="catmull_rom" type="flat">
      
      <positions>
        -4.0 +0.0 -2.0 +0.2
        -3.0 -1.0 +0.0 +0.2
        -2.0 +0.0 +2.0 +0.2
        -4.0 +0.0 +2.0 +0.2
        -3.0 +1.0 +0.0 +0.6
        -2.0 +0.0 -2.0 +0.2
        -4.0 +0.0 -2.0 +0.2
        -3.0 -1.0 +0.0 +0.2
        -2.0 +0.0 +2.0 +0.2
      </positions>
      
      <indices>
        0 1 2 3 4 5
      </indices>
      
      <material>
        <code>"OBJ"</code>
        <parameters>
          <float3 name="Kd">1 0 0</float3>
        </parameters>
      </material>
      
    </Curves>

    <Curves basis="catmull_rom" type="round">
      
      <positions>
        -1.0 +0.0 -2.0 +0.2
        +0.0 -1.0 +0.0 +0.2
        +1.0 +0.0 +2.0 +0.2
        -1.0 +0.0 +2.0 +0.2
        +0.0 +1.0 +0.0 +0.6
        +1.0 +0.0 -2.0 +0.2
        -1.0 +0.0 -2.0 +0.2
        +0.0 -1.0 +0.0 +0.2
        +1.0 +0.0 +2.0 +0.2
      </positions>
      
      <indices>
        0 1 2 3 4 5
      </indices>
      
      <material>
        <code>"OBJ"</code>
        <parameters>
          <float3 name="Kd">1 0 0</float3>
        </parameters>
      </material>
      
    </Curves>

    <Curves basis="catmull_rom" type="normal_oriented">
      
      <positions>
        +2.0 +0.0 -2.0 +0.2
        +3.0 -1.0 +0.0 +0.2
        +4.0 +0.0 +2.0 +0.2
        +2.0 +0.0 +2.0 +0.2
        +3.0 +1.0 +0.0 +0.6
        +4.0 +0.0 -2.0 +0.2
        +2.0 +0.0 -2.0 +0.2
        +3.0 -1.0 +0.0 +0.2
        +4.0 +0.0 +2.0 +0.2
      </positions>
      
      <normals>
        -1.0 +0.0 +0.0
        +0.0 +1.0 +0.0
        +1.0 +0.0 +0.0
        +0.0 -1.0 +0.0
        -1.0 +0.0 +0.0
        +0.0 +1.0 +0.0
        +1.0 +0.0 +0.0
        +0.0 -1.0 +0.0
        -1.0 +0.0 +0.0
      </normals>
      
      <indices>
        0 1 2 3 4 5
      </indices>
      
      <material>
        <code>"OBJ"</code>
        <parameters>
          <float3 name="Kd">1 0 0</float3>
        </parameters>
      </material>
      
    </Curves>
    
  </Group>
</scene>