<?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="-4.47035e-008 0 0" bvRadius="4.27532">
      <Vertices count="12" normal="true" uv0="true">
        <v p="0.0735488 0.38545 1.88001" n="0.982278 -0.187431 0" t0="0 0"/>
        <v p="-0.0735488 -0.38545 1.88001" n="0.982278 -0.187431 0" t0="0.445127 0"/>
        <v p="0.0735488 0.38545 -1.41693" n="0.982278 -0.187431 0" t0="0 1"/>
        <v p="-0.0735488 -0.38545 -1.41693" n="0.982278 -0.187431 0" t0="0.445127 1"/>
        <v p="0.0735488 0.38545 -1.81875" n="0.982278 -0.187431 0" t0="0 0"/>
        <v p="-0.0735488 -0.38545 -1.81875" n="0.982278 -0.187431 0" t0="0.445127 0"/>
        <v p="0.0735488 0.38545 -3.8314" n="0.982278 -0.187431 0" t0="0 1"/>
        <v p="-0.0735488 -0.38545 -4.25727" n="0.982278 -0.187431 0" t0="0.445127 1"/>
        <v p="0.0735487 0.38545 4.25727" n="0.982278 -0.187431 0" t0="0 0"/>
        <v p="-0.0735488 -0.38545 4.25727" n="0.982278 -0.187431 0" t0="0.445127 0"/>
        <v p="0.0735487 0.38545 2.27514" n="0.982278 -0.187431 0" t0="0 1"/>
        <v p="-0.0735488 -0.38545 2.27514" n="0.982278 -0.187431 0" t0="0.445127 1"/>
      </Vertices>
      <Triangles count="6">
        <t vi="0 1 2"/>
        <t vi="2 1 3"/>
        <t vi="4 5 6"/>
        <t vi="6 5 7"/>
        <t vi="8 9 10"/>
        <t vi="10 9 11"/>
      </Triangles>
      <Subsets count="1">
        <Subset firstVertex="0" numVertices="12" firstIndex="0" numIndices="18"/>
      </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="3000" maxCount="150" 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.3" lifespan="1000" maxCount="300" speed="0.002" speedRandom="0" tangentSpeed="0.01" normalSpeed="1" emitterShapeVelocityScale="0.75" spriteScaleX="0.15" spriteScaleY="0.15" blendFactor="1" blendInFactor="0" blendOutFactor="0" randomInitRotation="true" deltaRotateMin="-0.0015708" deltaRotateMax="0.0015708" textureAtlasSize="4">
      <Gravity force="0 -1 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="emitter1" clipDistance="200" nodeId="20" materialIds="7" dynamicId="1" emitterShapeNodeId="21">
      <Shape name="pPlaneShape1" translation="0.244297 -0.655948 -1.08399" scale="0.5 1 2" nodeId="21" materialIds="8" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="p2_:emitter1" clipDistance="200" nodeId="23" materialIds="9" dynamicId="3" emitterShapeNodeId="24">
      <Shape name="pPlaneShape2" scale="1 0.75 1" nodeId="24" materialIds="8" shapeId="4" nonRenderable="true"/>
    </Dynamic>
  </Scene>

</i3D>
