<trainzImport>
  <version>1</version>

  <mesh>
    <name>m.testconvertedmodel</name>

    <triangles>
      <triangle>
        <materialId>7</materialId>
        <vertex>
          <position>0,0,1</position>
          <normal>0,0,1</normal>
          <texcoord>0,0</texcoord>
          <boneId stream="0">0</boneId>
          <blend stream="0">1</blend>
        </vertex>      
        <vertex>
          <position>10,0,1</position>
          <normal>0,0,1</normal>
          <texcoord>1,0</texcoord>
          <boneId stream="0">2</boneId>
          <blend stream="0">1</blend>
        </vertex>
        <vertex>
          <position>10,10,1</position>
          <normal>0,0,1</normal>
          <texcoord>1,1</texcoord>
          <boneId stream="0">0</boneId>
          <blend stream="0">1</blend>
        </vertex>        

      </triangle>
      <triangle>
        <materialId>7</materialId>
        <vertex>
          <position>10,10,1</position>
          <normal>0,0,1</normal>
          <texcoord>1,1</texcoord>
          <boneId stream="0">0</boneId>
          <blend stream="0">1</blend>
        </vertex>      
        <vertex>
          <position>0,10,1</position>
          <normal>0,0,1</normal>
          <texcoord>0,1</texcoord>
          <boneId stream="0">1</boneId>
          <blend stream="0">1</blend>
        </vertex>
        <vertex>
          <position>0,0,1</position>
          <normal>0,0,1</normal>
          <texcoord>0,0</texcoord>
          <boneId stream="0">0</boneId>
          <blend stream="0">1</blend>
        </vertex>        
      </triangle>      
    </triangles>
    
    <attachments>
      <attachment>
        <name>a.corona0</name>
        <position>10,0,0</position>
        <orientation>0,0,0,1</orientation>
      </attachment>
    </attachments>  
    
  </mesh>

  <materials>
    <material>
      <name>testconvertedmaterialm.onetex</name>
      <id>7</id>
      <ambient>0.3,0.3,0.3</ambient>
      <diffuse>1,1,1</diffuse>
      <specular>1,1,1</specular>
      <emissive>0,0,0</emissive>
      <shine>0.2</shine>
      <opacity>1.0</opacity>
      <twoSided>false</twoSided>
      <textures>
        <texture>
          <textureName>c:/Test_Trainz_Export/MissingTexture.bmp</textureName>
          <typeName>diffuse</typeName> 
          <tileU>true</tileU>
          <tileV>true</tileV>
          <layerOpacity>1.0</layerOpacity>
        </texture>
      </textures>        
    </material>
  </materials>

  <skeleton>
    <bones>
      <bone>
        <id>0</id>
        <name>b.base</name>
        <parentName></parentName>
        <position>0,0,0</position>
        <orientation>0,0,0,1</orientation>
      </bone>
      <bone>
        <id>1</id>
        <name>b.left</name>
        <parentName>b.base</parentName>
        <position>-1,0,0</position>
        <orientation>0,0,0,1</orientation>
      </bone>
      <bone>
        <id>2</id>
        <name>b.right</name>
        <parentName>b.base</parentName>
        <position>1,0,0</position>
        <orientation>0,0,0,1</orientation>
      </bone>
    </bones>
  </skeleton>
  
  <animations>
    <animation>
      <name></name>
      <frameRate>3</frameRate>
      <useLocalSpace>true</useLocalSpace>
      
      <animationTracks>
  
        <animationTrack>
          <targetName>b.base</targetName>
          <keyFrames>
            <keyFrame>
              <position>0,0,0</position>
              <rotation format="axisangle">0,0,1,0</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,10</position>
              <rotation format="axisangle">0,0,1,45</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,20</position>
              <rotation format="axisangle">0,0,1,90</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,30</position>
              <rotation format="axisangle">0,0,1,135</rotation>
            </keyFrame>
          </keyFrames>
        </animationTrack>
  
        <animationTrack>
          <targetName>b.right</targetName> 
          <keyFrames>
            <keyFrame>
              <position>0,0,1</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,0</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,-1</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,0</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
          </keyFrames>
        </animationTrack>
  
        <animationTrack>
          <targetName>b.left</targetName> 
          <keyFrames>
            <keyFrame>
              <position>0,0,1</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,0</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,-1</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
            <keyFrame>
              <position>0,0,0</position>
              <rotation>0,0,0,1</rotation>
            </keyFrame>
          </keyFrames>
        </animationTrack>
  
      </animationTracks>    
  
      <events>
        <event>
          <frameIndex>1</frameIndex>
          <typeName>sound</typeName>
          <eventName>badaboom</eventName>
        </event>
      </events>
      
    </animation>
  </animations>
  
</trainzImport>
