summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/doc/datastructure.xml
blob: 79fe9e2c1e13de82bf354ff2e28e032c88c9625e (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<importedScene>
  <version name="1.2" />   <smiley code=":-)" />
  <node>
    <name />
    <transformation type="matrix4x4" />

    <mesh refid="0" />
    <!--More mesh definitions-->
	<mesh />
    
    <childnode />
    <childnode />
  </node>

  <cameras>
    <camera up="0,1,0" lookat="0,0,1" fov="45"/>
  </cameras>

  <lights>
    <light diffuse="black" type="spot" phi="5" theta="15"/>
  </lights>
  
  <meshes>
    <mesh id="0">
      <meshheader type="MatID, Vertexcount, Facecount, a.s.o." />
      <vertices>
          <vertex type="xyz" />
          
		  <!-- More vertex definitions -->
		  <vertex />
      </vertices>
      <texturecoords index="0">
          <texturecoord type="uv" />
          <texturecoord  />
      </texturecoords>
      <texturecoords index="..." />
      <vertexcolors index="0">
          <color type="rgba" />
          <color />
      </vertexcolors>
      <vertexcolors index="..." />
      <normals>
          <normal type="xyz" />
          
		  <!-- More normal definitions -->
		  <normal />
      </normals>
      <tangents>
        <tangent type="xyz" />
        
		<!-- More tangent definitions -->
		<tangent />
      </tangents>
      <bitangents>
        <bitangent type="xyz" />
        
		<!-- More bitanget defiitions... -->
		<bitangent />
      </bitangents>
      <faces>
          <face numIndices="3" indices="p1, p2, p3" />
          
		  <!-- More faces -->
		  <face />
      </faces>      
      <bones>
        <bone>
          <name />
          <offset type="matrix4x4" />
          <weights>
            <weight type="v, w" />
            
			<!-- More weights -->
			<weight />
          </weights>
        </bone>
        
		<!-- More bones -->
		<bone />
      </bones>      
    </mesh>
    <!-- More meshes -->
	<mesh id="x" />
  </meshes>
  <anims>
    <anim name="rudern" duration="4500" ticksPerSecond="50">
      <animbone nameOfAnimatedNode="bla">
        <rotation>
          <rotkey time="0" rot="xyzw" />
          <rotkey time="100" rot="xyzw" />
          
        </rotation>
        <translation>
          <transkey time="0" trans="xyz" />
          <transkey time="100" trans="xyz" />
          
        </translation>
        <scaling>
          <scalekey time="0" scale="xyz" />
          <scalekey time="100" scale="xyz" />
          
        </scaling>
      </animbone>
      <animbone nameOfAnimatedNode="blubb">
        
      </animbone>
    </anim>
    <anim />
  </anims>
  <materials>
    <material>
       <param>
          <name/>
          <value/>
       </param>
    </material>
    
	<!-- More material definitions-->
	<material />
  </materials>
  <textures>
    <texture type="width, height, formatHint">
      <data />
    </texture>
    <texture />
  </textures>
</importedScene>