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

<i3D name="threshingChopperParticleSystem" version="1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.5.xsd">

  <Files>
    <File name="file2" filename="threshingParticle.png" relativePath="true"/>
    <File name="p2_:file2" filename="chopperParticle.png" relativePath="true"/>
    <File name="customShader" filename="particleSystemShader.xml" relativePath="true"/>
    <File name="wheatParticleSystem_file" filename="wheatParticle.png" relativePath="true"/>
  </Files>

  <Materials>
    <Material name="lambert1" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1">
    </Material>
    <Material name="lambert2" specularColor="0 0 0" ambientColor="1 1 1" alphaBlending="true" customShader="customShader">
      <Texture name="file2"/>
    </Material>
    <Material name="p2_:lambert2" specularColor="0 0 0" ambientColor="1 1 1" alphaBlending="true" customShader="customShader">
      <Texture name="p2_:file2"/>
    </Material>
    <Material name="wheatParticleSystem_mat" specularColor="0 0 0" ambientColor="1 1 1" alphaBlending="true" customShader="customShader">
      <Texture name="wheatParticleSystem_file"/>
    </Material>
  </Materials>


  <Shapes>
    <IndexedFaceSet name="pPlaneShape2">
      <Vertices>
        <v c="-0.38977 0.295885 -0.034858"/>
        <v c="0.38977 0.295885 -0.034858"/>
        <v c="-0.38977 -0.295885 0.034858"/>
        <v c="0.38977 -0.295885 0.034858"/>
      </Vertices>
      <Faces shaderlist="lambert1">
        <f vi="0 1 3 2" t0="0 0 1 0 1 0.122944 0 0.122944" n="0 -0.117 -0.993132 0 -0.117 -0.993132 0 -0.117 -0.993132 0 -0.117 -0.993132" ci="0"/>
      </Faces>
    </IndexedFaceSet>
    <IndexedFaceSet name="p2_pPlaneShape2">
      <Vertices>
        <v c="-0.38977 0.250611 -0.161113"/>
        <v c="0.38977 0.250611 -0.161113"/>
        <v c="-0.38977 -0.250611 0.161113"/>
        <v c="0.38977 -0.250611 0.161113"/>
      </Vertices>
      <Faces shaderlist="lambert1">
        <f vi="0 1 3 2" t0="0 0 1 0 1 0.122944 0 0.122944" n="0 -0.540772 -0.841169 0 -0.540772 -0.841169 0 -0.540772 -0.841169 0 -0.540772 -0.841169" ci="0"/>
      </Faces>
    </IndexedFaceSet>
    <IndexedFaceSet name="wheatParticleSystemAreaShape">
      <Vertices>
        <v c="-0.172216 -0.0181114 -0.127692"/>
        <v c="0.167497 0.0197941 -0.13358"/>
        <v c="-0.167497 -0.0197941 0.13358"/>
        <v c="0.172216 0.0181114 0.127692"/>
      </Vertices>
      <Faces shaderlist="lambert1">
        <f vi="0 1 3 2" t0="0 0 1 0 1 0.122944 0 0.122944" n="0.110745 -0.993813 -0.0084011 0.110745 -0.993813 -0.0084011 0.110745 -0.993813 -0.0084011 0.110745 -0.993813 -0.0084011" ci="0"/>
      </Faces>
    </IndexedFaceSet>
  </Shapes>

  <Dynamics>
    <ParticleSystem name="emitter1Ref" type="sprite" rate="0.035" lifespanInfinite="false" speed="0.0012" speedRandom="0.05" tangentSpeed="0.2" normalSpeed="1" lifespan="8000" maxCount="290" spriteScaleX="1.2" spriteScaleY="1.2" depthSort="false" blendFactor="0.35" emitterShape="pPlaneShape2" material="lambert2">
      <Gravity force="0 0.004 0.01"/>
    </ParticleSystem>
    <ParticleSystem name="p2_:emitter1Ref" type="sprite" rate="0.05" lifespanInfinite="false" speed="0.005" speedRandom="0" tangentSpeed="0.05" normalSpeed="1" lifespan="2000" maxCount="110" spriteScaleX="1" spriteScaleY="1" depthSort="false" blendFactor="1.0" blendInFactor="0.0" blendOutFactor="0.0" emitterShape="p2_pPlaneShape2" material="p2_:lambert2">
      <Gravity force="0 -0.001 0"/>
    </ParticleSystem>
    <ParticleSystem name="topEmitter" type="sprite" rate="0.035" lifespanInfinite="false" speed="0.0012" speedRandom="0.05" tangentSpeed="0.15" normalSpeed="1" lifespan="3000" maxCount="290" spriteScaleX="0.9" spriteScaleY="0.9" depthSort="false" blendFactor="0.3" emitterShape="pPlaneShape2" material="lambert2">
      <Gravity force="0 0.004 0.01"/>
    </ParticleSystem>
    <ParticleSystem name="wheatParticleSystem_emitter1Ref" type="sprite" rate="0.25" lifespanInfinite="false" speed="0.003" speedRandom="0" tangentSpeed="0.01" normalSpeed="1" lifespan="650" maxCount="255" spriteScaleX="0.5" spriteScaleY="0.5" depthSort="false" blendFactor="0.8" blendInFactor="0.0" blendOutFactor="0.0" emitterShape="wheatParticleSystemAreaShape" material="wheatParticleSystem_mat">
      <Gravity force="0 -0.001 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="emitter1" ref="emitter1Ref"/>
    <Dynamic translation="0 0.5 0.8" name="p2_:emitter1" ref="p2_:emitter1Ref"/>
    <Dynamic name="emitter1" translation="0 2.537 5.3155" rotation="50 0 0" ref="topEmitter"/>
    <Dynamic name="wheatParticleSystem_emitter1" translation="-0.2552 2.6232 4.9477" rotation="20 17 3" scale="0.4 1 0.4" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -3 0" scale="2 2 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -16 8" scale="2 2.05 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 26 -15" scale="2 2.1 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 16 -7" scale="2 2.15 1" ref="wheatParticleSystem_emitter1Ref"/>

    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -3 0" scale="2 2.2 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -16 8" scale="2 2.25 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 26 -15" scale="2 2.3 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 16 -7" scale="2 2.35 1" ref="wheatParticleSystem_emitter1Ref"/>

    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -3 0" scale="2 2.4 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 -16 8" scale="2 2.45 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 26 -15" scale="2 2.5 1" ref="wheatParticleSystem_emitter1Ref"/>
    <Dynamic name="wheatParticleSystem_emitter2" translation="0.046 0.07 0.1" rotation="66 16 -7" scale="2 2.55 1" ref="wheatParticleSystem_emitter1Ref"/>

    <Dynamic name="emitter1" translation="0 0.5 2.4" rotation="0 0 0" scale="2 1 1" ref="p2_:emitter1Ref"/>
  
  
</Scene>

</i3D>
