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

<i3D name="fx_muckSpreaderEmitShape" 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 64bit" version="6.0.3"/>
  </Asset>

  <Files>
    <File fileId="1" filename="../fx_manure4x1_diffuse.png" relativePath="true"/>
    <File fileId="2" filename="../fx_manure4x1_normal.png" relativePath="true"/>
    <File fileId="5" filename="../fx_smoke6x6_01_diffuse.png" relativePath="true"/>
    <File fileId="6" filename="../fx_smoke6x6_01_normal.png" relativePath="true"/>
    <File fileId="3" filename="../psColorShader.xml" relativePath="true"/>
    <File fileId="7" filename="../psSubUVShader.xml" relativePath="true"/>
  </Files>


  <Materials>
    <Material name="fx_manureSmall_mat" materialId="8" ambientColor="1 1 1" customShaderId="3">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <CustomParameter name="psColor" value="1 1 1 1"/>
    </Material>
    <Material name="fx_smoke01_mat" materialId="10" ambientColor="1 1 1" alphaBlending="true" customShaderId="7" customShaderVariation="SUBUV_MOVIE">
      <Texture fileId="5"/>
      <Normalmap fileId="6"/>
      <CustomParameter name="psPlayScale" value="30 60 1 0"/>
      <CustomParameter name="psColor" value="0.25 0.18 0.08 1"/>
    </Material>
    <Material name="lambert1" materialId="6" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1">
    </Material>
  </Materials>


  <Shapes externalShapesFile="ManureSpreader.i3d.shapes">
  </Shapes>


  <Dynamics>
    <ParticleSystem name="manureEmitter" dynamicId="1" type="sprite" rate="0.25" lifespan="800" maxCount="300" speed="0.005" speedRandom="0.001" tangentSpeed="0" normalSpeed="1" emitterShapeVelocityScale="0.25" spriteScaleX="1" spriteScaleY="1" spriteScaleXGain="0.001" spriteScaleYGain="0.001" blendFactor="1" blendInFactor="0" blendOutFactor="1" randomInitRotation="true" deltaRotateMin="-0.000349066" deltaRotateMax="0.000349066" textureAtlasSizeX="4">
      <Gravity force="0 -0.8 0"/>
    </ParticleSystem>
    <ParticleSystem name="smokeEmitter" dynamicId="3" type="sprite" rate="0.015" lifespan="1200" maxCount="200" speed="0.003" speedRandom="0.001" tangentSpeed="0" normalSpeed="1" emitterShapeVelocityScale="0.25" damping="0.5" spriteScaleX="1" spriteScaleY="1" spriteScaleXGain="0.003" spriteScaleYGain="0.003" blendFactor="0.8" blendInFactor="0" blendOutFactor="0.5" depthSort="true" randomInitRotation="true" deltaRotateMin="-0.000349066" deltaRotateMax="0.000349066" textureAtlasSizeX="6" textureAtlasSizeY="6">
      <Gravity force="0 0 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <TransformGroup name="manureSpreader" nodeId="18">
      <Dynamic dynamicId="1" emitterShapeNodeId="21" name="manureEmitter" clipDistance="150" nodeId="20" materialIds="8">
        <Shape shapeId="2" name="emitShape" scale="1 1 0.3" nodeId="21" materialIds="6" nonRenderable="true"/>
      </Dynamic>
      <Dynamic dynamicId="3" emitterShapeNodeId="24" name="smokeEmitter" clipDistance="100" nodeId="23" materialIds="10" castsShadows="true" receiveShadows="true">
        <Shape shapeId="2" name="emitShape" scale="1 1 0.3" nodeId="24" materialIds="10" nonRenderable="true"/>
      </Dynamic>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="20">
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="23">
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
