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

<i3D name="trailerDischargeParticleSystem" 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="5.0.1"/>
  </Asset>

  <Files>
    <File fileId="4" filename="../../maps/particleSystems/potatoParticle.png" relativePath="true"/>
    <File fileId="2" filename="particleSystemShader.xml" relativePath="true"/>
    <File fileId="1" filename="threshingParticle.png" relativePath="true"/>
    <File fileId="3" filename="" relativePath="false"/>
  </Files>


  <Materials>
    <Material name="lambert2" materialId="7" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert1" materialId="8" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="p2_:lambert2" materialId="9" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="4"/>
    </Material>
  </Materials>


  <Shapes>
    <IndexedTriangleSet name="pPlaneShape2" shapeId="4" bvCenter="-0.00426052 0.177514 -0.774137" bvRadius="0.862845">
      <Vertices count="4" normal="true" uv0="true">
        <v p="-0.832907 0.392085 -0.882792" n="0 -0.45176 -0.892139" t0="0 0"/>
        <v p="0.824386 0.392085 -0.882792" n="0 -0.45176 -0.892139" t0="1 0"/>
        <v p="0.824386 -0.0370574 -0.665483" n="0 -0.45176 -0.892139" t0="1 0.122944"/>
        <v p="-0.832907 -0.0370574 -0.665483" n="0 -0.45176 -0.892139" 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="pPlaneShape1" shapeId="2" bvCenter="0.0457575 0.324305 0.33275" bvRadius="1.51688">
      <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>
  </Shapes>


  <Dynamics>
    <ParticleSystem name="emitter1Ref" dynamicId="1" type="sprite" rate="0.035" lifespan="5000" maxCount="185" speed="0.001" speedRandom="0" tangentSpeed="0.2" normalSpeed="1" emitterShapeVelocityScale="0.75" spriteScaleX="1.2" spriteScaleY="1.2" blendFactor="0.4" blendInFactor="0.2" blendOutFactor="0.8">
      <Gravity force="0 0.004 0.01"/>
    </ParticleSystem>
    <ParticleSystem name="p2_:emitter1Ref" dynamicId="3" type="sprite" rate="0.1" lifespan="2000" maxCount="200" speed="0.005" speedRandom="0" tangentSpeed="0.05" normalSpeed="1" emitterShapeVelocityScale="0.75" spriteScaleX="0.15" spriteScaleY="0.15" blendFactor="1" blendInFactor="0" blendOutFactor="0" textureAtlasSize="4">
      <Gravity force="0 -0.001 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="emitter1" translation="0.0457573 0.324305 0.332749" clipDistance="200" nodeId="20" materialIds="7" dynamicId="1" emitterShapeNodeId="21">
      <Shape name="pPlaneShape1" nodeId="21" materialIds="8" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <TransformGroup name="particle1" nodeId="22"/>
    <TransformGroup name="gravityField1" nodeId="23"/>
    <Dynamic name="p2_:emitter1" translation="-0.00426033 0.177514 -0.774138" clipDistance="200" nodeId="25" materialIds="9" dynamicId="3" emitterShapeNodeId="26">
      <Shape name="pPlaneShape2" nodeId="26" materialIds="8" shapeId="4" nonRenderable="true"/>
    </Dynamic>
    <TransformGroup name="particle2" nodeId="27"/>
    <TransformGroup name="gravityField2" nodeId="28"/>
  </Scene>

</i3D>
