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

<i3D name="particle_materialHolder" 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="8.1.0"/>
  </Asset>

  <Files>
    <File fileId="2" filename="shaders/psColorShader.xml"/>
    <File fileId="1" filename="shaders/psSubUVShader.xml"/>
  </Files>


  <Materials>
    <Material name="fx_sugarCane_mat" materialId="4" customShaderId="1" customShaderVariation="SUBUV_MOVIE_HORIZONTAL_VELOCITY_ALIGNED">
      <CustomParameter name="psPlayScale" value="50 100 1 0"/>
      <CustomParameter name="psColor" value="1.5 1.5 1.5 1"/>
    </Material>
    <Material name="fx_smoke01_mat" materialId="9" alphaBlending="true" customShaderId="1" customShaderVariation="SUBUV_MOVIE">
      <CustomParameter name="psPlayScale" value="30 60 1 0"/>
      <CustomParameter name="psColor" value="0.5137 0.404 0.2274 1"/>
    </Material>
    <Material name="fx_soil4x1_mat" materialId="6" customShaderId="1" customShaderVariation="SUBUV_MOVIE_HORIZONTAL">
      <CustomParameter name="psPlayScale" value="30 60 1 0"/>
      <CustomParameter name="psColor" value="1 1 1 1"/>
    </Material>
    <Material name="fx_compostSmall_mat" materialId="10" customShaderId="2">
      <CustomParameter name="psColor" value="1 1 1 1"/>
    </Material>
    <Material name="lambert1" materialId="8" diffuseColor="0.494118 0.494118 0.494118 1">
    </Material>
    <Material name="fx_smoke01_mat" materialId="5" alphaBlending="true" customShaderId="1" customShaderVariation="SUBUV_MOVIE">
      <CustomParameter name="psPlayScale" value="25 50 1 0"/>
      <CustomParameter name="psColor" value="0.247 0.191 0.145 1"/>
    </Material>
    <Material name="fx_smoke01_mat" materialId="11" alphaBlending="true" customShaderId="1" customShaderVariation="SUBUV_MOVIE">
      <CustomParameter name="psPlayScale" value="30 60 1 0"/>
      <CustomParameter name="psColor" value="0.514 0.404 0.227 1"/>
    </Material>
  </Materials>


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


  <Dynamics>
    <ParticleSystem name="smokeEmitter" dynamicId="10" type="sprite" rate="0.004" lifespan="2000" maxCount="100" speed="0.001" speedRandom="0" tangentSpeed="0.5" normalSpeed="0.7" emitterShapeVelocityScale="0.45" spriteScaleX="1.5" spriteScaleY="1.5" spriteScaleXGain="0.001" spriteScaleYGain="0.001" blendFactor="0.3" blendInFactor="0.1" blendOutFactor="0.8" randomInitRotation="true" deltaRotateMin="-0.000349066" deltaRotateMax="0.000349066" textureAtlasSizeX="6" textureAtlasSizeY="6">
      <Gravity force="0 -0.01 0"/>
    </ParticleSystem>
    <ParticleSystem name="smokeEmitter" dynamicId="1" type="sprite" rate="0.01" lifespan="2500" maxCount="500" speed="0.00075" speedRandom="0.00025" tangentSpeed="0.5" normalSpeed="1" spriteScaleX="1" spriteScaleY="1" spriteScaleXGain="0.0025" spriteScaleYGain="0.0025" blendFactor="0.2" blendInFactor="0.5" blendOutFactor="0.5" depthSort="true" randomInitRotation="true" deltaRotateMin="-0.000349066" deltaRotateMax="0.000349066" textureAtlasSizeX="6" textureAtlasSizeY="6">
      <Gravity force="0 0 0"/>
    </ParticleSystem>
    <ParticleSystem name="soilEmitter" dynamicId="6" type="sprite" rate="0.1" lifespan="500" maxCount="300" speed="0.003" speedRandom="0.0002" tangentSpeed="0" normalSpeed="1" emitterShapeVelocityScale="0.5" spriteScaleX="0.4" spriteScaleY="0.4" spriteScaleXGain="0.001" spriteScaleYGain="0.001" blendFactor="1" blendInFactor="0" blendOutFactor="0.9" depthSort="true" deltaRotateMin="-0.0010472" deltaRotateMax="0.0010472" textureAtlasSizeX="4">
      <Gravity force="0 -2 0"/>
    </ParticleSystem>
    <ParticleSystem name="smokeEmitter" dynamicId="11" type="sprite" rate="0.004" lifespan="2000" maxCount="100" speed="0.001" speedRandom="0" tangentSpeed="0.5" normalSpeed="0.7" spriteScaleX="1.5" spriteScaleY="1.5" spriteScaleXGain="0.001" spriteScaleYGain="0.001" blendFactor="0.1" blendInFactor="0.27" blendOutFactor="0.75" randomInitRotation="true" deltaRotateMin="-0.000349066" deltaRotateMax="0.000349066" textureAtlasSizeX="6" textureAtlasSizeY="6">
      <Gravity force="0 -0.01 0"/>
    </ParticleSystem>
    <ParticleSystem name="chaffEmitter" dynamicId="12" type="sprite" rate="0.075" lifespan="1500" maxCount="350" speed="0" speedRandom="0" tangentSpeed="0.5" normalSpeed="1" emitterShapeVelocityScale="0.5" spriteScaleX="0.4" spriteScaleY="0.4" spriteScaleXGain="0.0004" spriteScaleYGain="0.0004" blendFactor="1" blendInFactor="0.15" blendOutFactor="0.9" randomInitRotation="true" deltaRotateMin="-0.0015708" deltaRotateMax="0.0015708" textureAtlasSizeX="4">
      <Gravity force="0 -0.3 0"/>
    </ParticleSystem>
    <ParticleSystem name="soilEmitter" dynamicId="4" type="sprite" rate="0.1" lifespan="550" maxCount="300" speed="0.004" speedRandom="0.0002" tangentSpeed="0" normalSpeed="1" emitterShapeVelocityScale="0.5" spriteScaleX="0.6" spriteScaleY="0.6" blendFactor="1" blendInFactor="0" blendOutFactor="1" depthSort="true" randomInitRotation="true" textureAtlasSizeX="16" textureAtlasSizeY="4">
      <Gravity force="0 -2 0"/>
    </ParticleSystem>
    <ParticleSystem name="chaffEmitter" dynamicId="8" type="sprite" particleShapeId="7" rate="0.05" lifespan="1500" maxCount="500" speed="0.002" speedRandom="0" tangentSpeed="0" normalSpeed="1" spriteScaleX="0.21" spriteScaleY="2.2" blendFactor="1" blendInFactor="0" blendOutFactor="1" deltaRotateMin="-0.000698137" deltaRotateMax="0.000698137" textureAtlasSizeX="32" textureAtlasSizeY="4">
      <Gravity force="0 -0.75 0"/>
    </ParticleSystem>
    <ParticleSystem name="oatWindrowEmitter" dynamicId="3" type="sprite" rate="0.2" lifespan="1200" maxCount="500" speed="0.002" speedRandom="0" tangentSpeed="0.1" normalSpeed="1" spriteScaleX="0.7" spriteScaleY="0.7" blendFactor="1" blendInFactor="0" blendOutFactor="0.75" depthSort="true" randomInitRotation="true" deltaRotateMin="-0.00174533" deltaRotateMax="0.00174533" textureAtlasSizeX="4">
      <Gravity force="0 -0.3 0"/>
    </ParticleSystem>
  </Dynamics>

  <Scene>
    <TransformGroup name="smokeParticleSystems" nodeId="37">
      <TransformGroup name="hemp" nodeId="38">
        <Dynamic dynamicId="1" emitterShapeNodeId="41" name="smokeEmitter" clipDistance="100" nodeId="40" materialIds="9" distanceBlending="false">
          <Shape shapeId="2" name="emitShape" nodeId="41" materialIds="9" nonRenderable="true"/>
        </Dynamic>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="strawParticleSystems" nodeId="42"/>
    <TransformGroup name="chopperParticleSystems" nodeId="43">
      <TransformGroup name="hemp" rotation="0 -0 -14.0549" nodeId="44">
        <Dynamic dynamicId="3" emitterShapeNodeId="47" name="chopperEmitter" clipDistance="100" nodeId="46" materialIds="10" distanceBlending="false">
          <Shape shapeId="2" name="emitShape" nodeId="47" materialIds="8" nonRenderable="true"/>
        </Dynamic>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="unloadingParticles" nodeId="48"/>
    <TransformGroup name="spreaderParticles" nodeId="49"/>
    <TransformGroup name="cutterChopper" nodeId="59"/>
    <TransformGroup name="soil" nodeId="60"/>
    <TransformGroup name="windrower" nodeId="61"/>
    <TransformGroup name="tedder" nodeId="62"/>
    <TransformGroup name="weeder" nodeId="63"/>
    <TransformGroup name="forestry" nodeId="64"/>
    <TransformGroup name="harvesting" nodeId="65">
      <TransformGroup name="SOIL_HARVESTING" nodeId="66">
        <TransformGroup name="sugarBeet" nodeId="67">
          <Dynamic dynamicId="4" emitterShapeNodeId="70" name="soilEmitter" clipDistance="100" nodeId="69" materialIds="6" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="70" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="potato" nodeId="71">
          <Dynamic dynamicId="4" emitterShapeNodeId="74" name="soilEmitter" clipDistance="100" nodeId="73" materialIds="6" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="74" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="peanut" nodeId="75">
          <Dynamic dynamicId="4" emitterShapeNodeId="78" name="soilEmitter" clipDistance="100" nodeId="77" materialIds="6" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="78" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
      </TransformGroup>
      <TransformGroup name="PREPARE_FRUIT" nodeId="79">
        <TransformGroup name="sugarBeet" nodeId="80">
          <Dynamic dynamicId="6" emitterShapeNodeId="83" name="chaffEmitter" clipDistance="100" nodeId="82" materialIds="10" castsShadows="true" receiveShadows="true" distanceBlending="false">
            <Shape shapeId="5" name="EmitShape" nodeId="83" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="potato" nodeId="84">
          <Dynamic dynamicId="6" emitterShapeNodeId="87" name="chaffEmitter" clipDistance="100" nodeId="86" materialIds="10" castsShadows="true" receiveShadows="true" distanceBlending="false">
            <Shape shapeId="5" name="EmitShape" nodeId="87" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="sugarCane" nodeId="88">
          <Dynamic dynamicId="8" emitterShapeNodeId="91" name="chaffEmitter" clipDistance="100" nodeId="90" materialIds="4" castsShadows="true" receiveShadows="true" distanceBlending="false">
            <Shape shapeId="9" name="emitShape" rotation="45 -0 0" nodeId="91" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="peanut" nodeId="92">
          <Dynamic dynamicId="6" emitterShapeNodeId="95" name="chaffEmitter" clipDistance="100" nodeId="94" materialIds="10" castsShadows="true" receiveShadows="true" distanceBlending="false">
            <Shape shapeId="5" name="EmitShape" nodeId="95" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
      </TransformGroup>
      <TransformGroup name="CLEANING_DUST" nodeId="96">
        <TransformGroup name="sugarBeet" nodeId="97">
          <Dynamic dynamicId="10" emitterShapeNodeId="100" name="smokeEmitter" clipDistance="100" nodeId="99" materialIds="5" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="100" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="potato" nodeId="101">
          <Dynamic dynamicId="10" emitterShapeNodeId="104" name="smokeEmitter" clipDistance="100" nodeId="103" materialIds="5" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="104" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="sugarCane" nodeId="105">
          <Dynamic dynamicId="11" emitterShapeNodeId="108" name="smokeEmitter" clipDistance="100" nodeId="107" materialIds="11" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="108" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="peanut" nodeId="109">
          <Dynamic dynamicId="10" emitterShapeNodeId="112" name="smokeEmitter" clipDistance="100" nodeId="111" materialIds="5" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="112" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
      </TransformGroup>
      <TransformGroup name="CLEANING_SOIL" nodeId="113">
        <TransformGroup name="sugarBeet" nodeId="114">
          <Dynamic dynamicId="12" emitterShapeNodeId="117" name="soilFallingEmitter" clipDistance="100" nodeId="116" materialIds="10" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="117" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="potato" nodeId="118">
          <Dynamic dynamicId="12" emitterShapeNodeId="121" name="soilFallingEmitter" clipDistance="100" nodeId="120" materialIds="10" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="121" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
        <TransformGroup name="peanut" nodeId="122">
          <Dynamic dynamicId="12" emitterShapeNodeId="125" name="soilFallingEmitter" clipDistance="100" nodeId="124" materialIds="10" distanceBlending="false">
            <Shape shapeId="5" name="emitShape" nodeId="125" materialIds="8" nonRenderable="true"/>
          </Dynamic>
        </TransformGroup>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="washer" nodeId="126"/>
    <TransformGroup name="pickup" nodeId="127"/>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="40">
      <Attribute name="fillType" type="string" value="hemp"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="SMOKE"/>
    </UserAttribute>
    <UserAttribute nodeId="46">
      <Attribute name="fillType" type="string" value="hemp"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CHOPPER"/>
    </UserAttribute>
    <UserAttribute nodeId="69">
      <Attribute name="fillType" type="string" value="sugarBeet"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="SOIL_HARVESTING"/>
    </UserAttribute>
    <UserAttribute nodeId="73">
      <Attribute name="fillType" type="string" value="potato"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="SOIL_HARVESTING"/>
    </UserAttribute>
    <UserAttribute nodeId="77">
      <Attribute name="fillType" type="string" value="peanut"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="SOIL_HARVESTING"/>
    </UserAttribute>
    <UserAttribute nodeId="82">
      <Attribute name="fillType" type="string" value="sugarBeet"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="PREPARE_FRUIT"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="86">
      <Attribute name="fillType" type="string" value="potato"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="PREPARE_FRUIT"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="90">
      <Attribute name="fillType" type="string" value="sugarCane"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="PREPARE_FRUIT"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="94">
      <Attribute name="fillType" type="string" value="peanut"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="PREPARE_FRUIT"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="99">
      <Attribute name="fillType" type="string" value="sugarBeet"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_DUST"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="103">
      <Attribute name="fillType" type="string" value="potato"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_DUST"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="107">
      <Attribute name="fillType" type="string" value="sugarCane"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_DUST"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="111">
      <Attribute name="fillType" type="string" value="peanut"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_DUST"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="116">
      <Attribute name="fillType" type="string" value="sugarBeet"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_SOIL"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="120">
      <Attribute name="fillType" type="string" value="potato"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_SOIL"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="124">
      <Attribute name="fillType" type="string" value="peanut"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateParticleSystem"/>
      <Attribute name="particleType" type="string" value="CLEANING_SOIL"/>
      <Attribute name="useWorldSpace" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
