<?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="6.0.3"/>
  </Asset>

  <Files>
    <File fileId="2" filename="fx_grain_normal.png" relativePath="true"/>
    <File fileId="4" filename="fx_oatWindrow_diffuse.png" relativePath="true"/>
    <File fileId="5" filename="fx_oatWindrow_normal.png" relativePath="true"/>
    <File fileId="1" filename="fx_oat_diffuse.png" relativePath="true"/>
    <File fileId="8" filename="grainSmokeShader.xml" relativePath="true"/>
    <File fileId="3" filename="grainUnloadingShader.xml" relativePath="true"/>
    <File fileId="6" filename="windrowUnloadingShader.xml" relativePath="true"/>
  </Files>


  <Materials>
    <Material name="fx_unloadingoat_mat1" materialId="25" ambientColor="1 1 1" alphaBlending="true" customShaderId="3">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="5 -2.5 0 0"/>
      <CustomParameter name="ColorAlpha" value="1 1 1 1"/>
      <CustomParameter name="vSpeedFrequencyAmplitudeFadescale" value="10 5 0.25 -0.025"/>
    </Material>
    <Material name="fx_unloadingoat_mat3" materialId="27" ambientColor="1 1 1" alphaBlending="true" customShaderId="3">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="5 -2.5 0 0"/>
      <CustomParameter name="ColorAlpha" value="1 1 1 1"/>
      <CustomParameter name="vSpeedFrequencyAmplitudeFadescale" value="10 5 0.25 -0.15"/>
    </Material>
    <Material name="fx_smokeoat_mat" materialId="30" diffuseColor="0.494118 0.494118 0.494118 1" ambientColor="1 1 1" alphaBlending="true" customShaderId="8">
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="0.75 0.1 -0.3 0"/>
      <CustomParameter name="ColorAlpha" value="0.904 0.752 0.489 2"/>
    </Material>
    <Material name="fx_chopperBarley_mat" materialId="15" ambientColor="1 1 1" alphaBlending="true" customShaderId="6" customShaderVariation="WINDROW_SIDE">
      <Texture fileId="4"/>
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="0.5 -3 1 1"/>
      <CustomParameter name="MaskChannels" value="0.5 1 0.25 0"/>
      <CustomParameter name="ColorAlpha" value="0.499 0.468 0.361 2"/>
    </Material>
    <Material name="fx_strawoat_mat" materialId="42" ambientColor="1 1 1" alphaBlending="true" customShaderId="6" customShaderVariation="WINDROW_CENTER">
      <Texture fileId="4"/>
      <Normalmap fileId="5"/>
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="0.8 -2 1 1"/>
      <CustomParameter name="MaskChannels" value="0.5 1 0.25 0"/>
      <CustomParameter name="ColorAlpha" value="1 1 1 1"/>
    </Material>
    <Material name="fx_unloadingoat_mat2" materialId="10" ambientColor="1 1 1" alphaBlending="true" customShaderId="3">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <CustomParameter name="fadeProgress" value="1 1 0 0"/>
      <CustomParameter name="UVScaleSpeed" value="5 -2.5 0 0"/>
      <CustomParameter name="ColorAlpha" value="1 1 1 1"/>
      <CustomParameter name="vSpeedFrequencyAmplitudeFadescale" value="10 5 0.25 -0.05"/>
    </Material>
  </Materials>


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


  <Dynamics>
  </Dynamics>

  <Scene>
    <TransformGroup name="unloading" nodeId="52">
      <TransformGroup name="oat" nodeId="53">
        <Shape shapeId="1" name="oat0_025_materialHolder" nodeId="54" materialIds="25" castsShadows="true" receiveShadows="true"/>
        <Shape shapeId="1" name="oat0_05_materialHolder" nodeId="55" materialIds="10" castsShadows="true" receiveShadows="true"/>
        <Shape shapeId="1" name="oat0_15_materialHolder" nodeId="56" materialIds="27" castsShadows="true" receiveShadows="true"/>
      </TransformGroup>
      <TransformGroup name="oat_windrow" nodeId="87">
        <Shape shapeId="1" name="oat_windrow_materialHolder" nodeId="88" materialIds="42" castsShadows="true" receiveShadows="true"/>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="smoke" nodeId="93">
      <TransformGroup name="oat" nodeId="94">
        <Shape shapeId="2" name="oat_materialHolder" nodeId="95" materialIds="30" castsShadows="true" receiveShadows="true"/>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="straw" nodeId="106">
      <TransformGroup name="oat" nodeId="107">
        <Shape shapeId="3" name="oat_materialHolder" nodeId="108" materialIds="42" castsShadows="true" receiveShadows="true"/>
      </TransformGroup>
    </TransformGroup>
    <TransformGroup name="chopper" nodeId="113">
      <TransformGroup name="oat" nodeId="114">
        <Shape shapeId="2" name="oat_materialHolder" nodeId="115" materialIds="15" castsShadows="true" receiveShadows="true"/>
      </TransformGroup>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="54">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="1"/>
      <Attribute name="materialType" type="string" value="unloading"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="55">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="2"/>
      <Attribute name="materialType" type="string" value="unloading"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="56">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="3"/>
      <Attribute name="materialType" type="string" value="unloading"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="88">
      <Attribute name="fillType" type="string" value="oat_windrow"/>
      <Attribute name="materialId" type="string" value="1"/>
      <Attribute name="materialType" type="string" value="unloading"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="95">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="1"/>
      <Attribute name="materialType" type="string" value="smoke"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="108">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="1"/>
      <Attribute name="materialType" type="string" value="straw"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="115">
      <Attribute name="fillType" type="string" value="oat"/>
      <Attribute name="materialId" type="string" value="1"/>
      <Attribute name="materialType" type="string" value="chopper"/>
      <Attribute name="onCreate" type="scriptCallback" value="Fillable.onCreateFillMaterial"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
