<?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.8"/>
  </Asset>

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


  <Materials>
    <Material name="lambert1" materialId="11" 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"/>
      <CustomParameter name="alphaScale" value="1 0 0 0"/>
    </Material>
  </Materials>


  <Shapes>
    <IndexedTriangleSet name="wheatParticleSystemAreaShape" shapeId="2">
      <Vertices count="4" normal="true" uv0="true">
        <v p="-0.16 0 -0.16" n="0 -1 0" t0="0 0"/>
        <v p="0.16 0 -0.16" n="0 -1 0" t0="1 0"/>
        <v p="0.16 0 0.16" n="0 -1 0" t0="1 1"/>
        <v p="-0.16 0 0.16" n="0 -1 0" t0="0 1"/>
      </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.2" lifespan="600" maxCount="170" speed="0.003" speedRandom="0" tangentSpeed="0.15" normalSpeed="1" spriteScaleX="0.2" spriteScaleY="0.2" spriteScaleXGain="0.001" spriteScaleYGain="0.001" blendFactor="1" blendInFactor="0" blendOutFactor="0.8" randomInitRotation="true" deltaRotateMax="0.000785398">
      <Gravity force="0 -0.981 0"/>
      <Air velocity="0 0 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="wheatParticleSystem_emitter1" clipDistance="300" nodeId="21" materialIds="14" dynamicId="1" emitterShapeNodeId="22">
      <Shape name="wheatParticleSystemAreaShape" scale="0.2 0.2 0.5" nodeId="22" materialIds="11" shapeId="2" nonRenderable="true"/>
    </Dynamic>
  </Scene>

</i3D>
