<?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"/>
  </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>
  </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>
  </Shapes>

  <Dynamics>
    <ParticleSystem name="emitter1Ref" type="sprite" rate="0.035" lifespanInfinite="false" speed="0.0012" speedRandom="0" 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.035" lifespanInfinite="false" speed="0.004" speedRandom="0" tangentSpeed="0.05" normalSpeed="1" lifespan="1000" maxCount="110" spriteScaleX="0.9" spriteScaleY="0.9" depthSort="false" blendFactor="0.5" blendInFactor="0.0" blendOutFactor="0.0" emitterShape="p2_pPlaneShape2" material="p2_:lambert2">
      <Gravity force="0 -0.001 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="emitter1" ref="emitter1Ref"/>
    <TransformGroup name="particle1"/>
    <TransformGroup name="gravityField1"/>
    <Dynamic translation="0 0.5 0.8" name="p2_:emitter1" ref="p2_:emitter1Ref"/>
    <TransformGroup name="p2_particle1"/>
    <TransformGroup name="p2_gravityField1"/>
  </Scene>

</i3D>
