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

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


  <Materials>
    <Material name="wheatParticleSystem_mat" materialId="13" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert1" materialId="10" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="lambert1" materialId="40" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="lambert1" materialId="15" 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"/>
    </Material>
    <Material name="wheatParticleSystem_mat" materialId="41" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert1" materialId="16" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
    <Material name="wheatParticleSystem_mat" materialId="17" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="wheatParticleSystem_mat" materialId="18" ambientColor="1 1 1" alphaBlending="true" customShaderId="2">
      <Texture fileId="1"/>
    </Material>
    <Material name="lambert1" materialId="19" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
  </Materials>


  <Shapes>
    <IndexedTriangleSet name="wheatParticleSystemAreaShape" shapeId="2">
      <Vertices count="12" normal="true" uv0="true">
        <v p="-1.49012e-008 0.0487844 0" n="0 0 -1" t0="0.517857 0.5"/>
        <v p="0.30767 0.0487844 0" n="0 0 -1" t0="0.553571 0.5"/>
        <v p="0.30767 0.0162615 0" n="0 0 -1" t0="0.553571 0.583333"/>
        <v p="-1.49012e-008 0.0162615 0" n="0 0 -1" t0="0.517857 0.583333"/>
        <v p="-0.30767 0.0487844 0" n="0 0 -1" t0="0.482143 0.5"/>
        <v p="0.30767 -0.0162615 0" n="0 0 -1" t0="0.553571 0.666667"/>
        <v p="-0.30767 0.0162615 0" n="0 0 -1" t0="0.482143 0.583333"/>
        <v p="-1.49012e-008 -0.0162615 0" n="0 0 -1" t0="0.517857 0.666667"/>
        <v p="0.30767 -0.0487844 0" n="0 0 -1" t0="0.553571 0.75"/>
        <v p="-0.30767 -0.0162615 0" n="0 0 -1" t0="0.482143 0.666667"/>
        <v p="-1.49012e-008 -0.0487844 0" n="0 0 -1" t0="0.517857 0.75"/>
        <v p="-0.30767 -0.0487844 0" n="0 0 -1" t0="0.482143 0.75"/>
      </Vertices>
      <Triangles count="12">
        <t vi="0 1 2"/>
        <t vi="0 2 3"/>
        <t vi="4 0 3"/>
        <t vi="3 2 5"/>
        <t vi="4 3 6"/>
        <t vi="3 5 7"/>
        <t vi="6 3 7"/>
        <t vi="7 5 8"/>
        <t vi="6 7 9"/>
        <t vi="7 8 10"/>
        <t vi="9 7 10"/>
        <t vi="9 10 11"/>
      </Triangles>
      <Subsets count="1">
        <Subset firstVertex="0" numVertices="12" firstIndex="0" numIndices="36"/>
      </Subsets>
    </IndexedTriangleSet>
  </Shapes>


  <Dynamics>
    <ParticleSystem name="wheatParticleSystem_emitter1Ref" dynamicId="1" type="sprite" rate="0.5" lifespan="700" maxCount="6000" speed="0.002" speedRandom="0.0001" tangentSpeed="0.05" normalSpeed="1" spriteScaleX="0.2" spriteScaleY="0.2" blendFactor="0.8" blendInFactor="0" blendOutFactor="0">
      <Gravity force="0 -1 0"/>
      <Air velocity="0 0 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0 0.2 -0.2" nodeId="26" materialIds="17" dynamicId="1" emitterShapeNodeId="27">
      <Shape name="wheatParticleSystemAreaShape" nodeId="27" materialIds="10" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.659962 0.214681 -0.2" nodeId="29" materialIds="18" dynamicId="1" emitterShapeNodeId="30">
      <Shape name="wheatParticleSystemAreaShape" nodeId="30" materialIds="19" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Camera name="camera" translation="0.164975 2.42867 -2.7841" rotation="132.56 1.23673 180" nodeId="31" fov="60" nearClip="0.1" farClip="10000"/>
    <Dynamic name="wheatParticleSystem_emitter1" translation="-0.700476 0.2 -0.2" nodeId="33" materialIds="14" dynamicId="1" emitterShapeNodeId="34">
      <Shape name="wheatParticleSystemAreaShape" nodeId="34" materialIds="15" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="0.374996 0.2 -0.2" nodeId="36" materialIds="13" dynamicId="1" emitterShapeNodeId="37">
      <Shape name="wheatParticleSystemAreaShape" nodeId="37" materialIds="16" shapeId="2" nonRenderable="true"/>
    </Dynamic>
    <Dynamic name="wheatParticleSystem_emitter1" translation="-0.402251 0.2 -0.2" nodeId="48" materialIds="41" dynamicId="1" emitterShapeNodeId="49">
      <Shape name="wheatParticleSystemAreaShape" nodeId="49" materialIds="40" shapeId="2" nonRenderable="true"/>
    </Dynamic>
  </Scene>

</i3D>
