<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="wheatParticleSystem" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
  <Asset>
    <Export program="GIANTS Editor" version="4.1.2"/>
  </Asset>

  <Files>
    <File fileId="1" filename="texturen/wheatParticle.png" relativePath="true"/>
    <File fileId="4" filename="texturen/threshingParticle.png" relativePath="true"/>
    <File fileId="2" filename="scripts/particleSystemShader.xml" relativePath="true"/>
  </Files>


  <Materials>
    <Material name="lambert1" materialId="10" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="lambert1" materialId="16" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="wheatParticleSystem_mat" materialId="14" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert2" materialId="18" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="4"/>
    </Material>
    <Material name="wheatParticleSystem_mat" materialId="19" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert1" materialId="20" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
  </Materials>


  <Shapes>
    <IndexedTriangleSet name="pPlaneShape1" shapeId="6">
      <Vertices count="4" normal="true" uv0="true">
        <v p="-0.832429 0.295885 1.56924" n="0 0.999736 0.0229784" t0="0 0"/>
        <v p="0.923944 0.295885 1.56924" n="0 0.999736 0.0229784" t0="1 0"/>
        <v p="0.923944 0.352725 -0.90374" n="0 0.999736 0.0229784" t0="1 0.122944"/>
        <v p="-0.832429 0.352725 -0.90374" n="0 0.999736 0.0229784" t0="0 0.122944"/>
      </Vertices>
      <Triangles count="2">
        <t vi="0 1 2"/>
        <t vi="0 2 3"/>
      </Triangles>
      <Subsets count="1">
        <Subset firstVertex="0" numVertices="4" firstIndex="0" numIndices="6"/>
      </Subsets>
    </IndexedTriangleSet>
    <IndexedTriangleSet name="wheatParticleSystemAreaShape" shapeId="2">
      <Vertices count="4" normal="true" uv0="true">
        <v p="-0.172216 -0.0181114 -0.127692" n="0.110745 -0.993813 -0.0084011" t0="0 0"/>
        <v p="0.167497 0.0197941 -0.13358" n="0.110745 -0.993813 -0.0084011" t0="1 0"/>
        <v p="0.172216 0.0181114 0.127692" n="0.110745 -0.993813 -0.0084011" t0="1 0.122944"/>
        <v p="-0.167497 -0.0197941 0.13358" n="0.110745 -0.993813 -0.0084011" t0="0 0.122944"/>
      </Vertices>
      <Triangles count="2">
        <t vi="0 1 2"/>
        <t vi="0 2 3"/>
      </Triangles>
      <Subsets count="1">
        <Subset firstVertex="0" numVertices="4" firstIndex="0" numIndices="6"/>
      </Subsets>
    </IndexedTriangleSet>
  </Shapes>


  <Dynamics>
    <ParticleSystem name="wheatParticleSystem_emitter1Ref" dynamicId="1" type="sprite" rate="0.05" lifespan="450" maxCount="35" speed="0.005" speedRandom="0" tangentSpeed="0.01" normalSpeed="1" spriteScaleX="0.5" spriteScaleY="0.5" blendFactor="0.8" blendInFactor="0" blendOutFactor="0">
      <Gravity force="0 -0.001 0"/>
      <Air velocity="0 0 0"/>
    </ParticleSystem>
    <ParticleSystem name="emitter1Ref" dynamicId="5" type="sprite" rate="0.035" lifespan="5000" maxCount="185" speed="0.001" speedRandom="0" tangentSpeed="0.2" normalSpeed="1" spriteScaleX="1.2" spriteScaleY="1.2" blendFactor="0.4" blendInFactor="0.2" blendOutFactor="0.8">
      <Gravity force="0 0.004 0.01"/>
      <Air velocity="0 0 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.0518564 0.192385 0" rotation="0 -0 8.00243" scale="1 2 1" nodeId="44" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="45" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" rotation="0 -0 18.6383" scale="1 2 1" nodeId="47" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="48" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.17256 -0.511619 0" rotation="0 -0 3.49567" scale="1 2 1" nodeId="50" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="51" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="emitter1" translation="0.409186 -2.58125 0.332749" nodeId="53" materialIds="18" dynamicId="5" emitterShapeNodeId="54">
      <Shape name="pPlaneShape1" nodeId="54" materialIds="10" shapeId="6" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.17256 -0.511619 0" rotation="0 -0 3.49567" scale="1 2 1" nodeId="56" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="57" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.17256 -0.511619 0" rotation="0 -0 3.49567" scale="1 2 1" nodeId="59" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="60" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.17256 -0.511619 0" rotation="0 -0 3.49567" scale="1 2 1" nodeId="62" materialIds="14" dynamicId="1" emitterShapeNodeId="45">
      <Shape name="wheatParticleSystemAreaShape" nodeId="63" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="-0.251764 0.275984 0.105523" rotation="0 -0 22.8637" scale="0.5 0.5 0.5" nodeId="41" materialIds="19" dynamicId="1" emitterShapeNodeId="42">
      <Shape name="wheatParticleSystemAreaShape" nodeId="42" materialIds="20" shapeId="2" nonRenderable="true"/>
    </Dynamic>
  </Scene>

</i3D>
