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

<i3D name="beltMeshes_materialHolder" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">

  <Files>
    <File fileId="8" filename="$data/effects/belt/potato/potatoesClean_diffuse.png" />
    <File fileId="5" filename="$data/effects/belt/potato/potatoesDirt_diffuse.png" />
    <File fileId="6" filename="$data/effects/belt/potato/potatoesDirt_normal.png" />
    <File fileId="7" filename="$data/effects/belt/potato/potatoesDirt_specular.png" />
    <File fileId="12" filename="$data/effects/belt/sugarBeet/sugarBeetsClean_diffuse.png" />
    <File fileId="9" filename="$data/effects/belt/sugarBeet/sugarBeetsDirt_diffuse.png" />
    <File fileId="10" filename="$data/effects/belt/sugarBeet/sugarBeetsDirt_normal.png" />
    <File fileId="11" filename="$data/effects/belt/sugarBeet/sugarBeetsDirt_specular.png" />
    <File fileId="4" filename="$data/shaders/grainUnloadingBeltShader.xml" />
    <File fileId="1" filename="$data/shared/defaultArray_diffuse.png" />
    <File fileId="2" filename="$data/shared/defaultArray_normal.png" />
    <File fileId="3" filename="$data/shared/defaultArray_specular.png" />
  </Files>

  <Materials>
    <Material name="beltArray_mat" materialId="1" customShaderId="4" customShaderVariation="fillPlanesArray">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="potatoesDirt_mat" materialId="2" customShaderId="4">
      <Texture fileId="5"/>
      <Normalmap fileId="6"/>
      <Glossmap fileId="7"/>
    </Material>
    <Material name="potatoesClean_mat" materialId="3" customShaderId="4">
      <Texture fileId="8"/>
      <Normalmap fileId="6"/>
      <Glossmap fileId="7"/>
    </Material>
    <Material name="sugarBeetsDirt_mat" materialId="4" customShaderId="4">
      <Texture fileId="9"/>
      <Normalmap fileId="10"/>
      <Glossmap fileId="11"/>
    </Material>
    <Material name="sugarBeetsClean_mat" materialId="5" customShaderId="4">
      <Texture fileId="12"/>
      <Normalmap fileId="10"/>
      <Glossmap fileId="11"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="beltArray_materialHolder" shapeId="1" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="300" nodeId="1"/>
    <Shape name="beltPotatoDirt_materialHolder" translation="2 0 0" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="2"/>
    <Shape name="beltPotatoClean_materialHolder" translation="4 0 0" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="300" nodeId="3"/>
    <Shape name="beltSugarBeetDirt_materialHolder" translation="6 0 0" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="300" nodeId="4"/>
    <Shape name="beltSugarBeetClean_materialHolder" translation="8 0 0" shapeId="5" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="5"/>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="1">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateBaseMaterial"/>
      <Attribute name="materialName" type="string" value="belt"/>
    </UserAttribute>
    <UserAttribute nodeId="2">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateMaterial"/>
      <Attribute name="materialType" type="string" value="belt_cropDirt"/>
      <Attribute name="fillType" type="string" value="potato"/>
    </UserAttribute>
    <UserAttribute nodeId="3">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateMaterial"/>
      <Attribute name="materialType" type="string" value="belt_cropClean"/>
      <Attribute name="fillType" type="string" value="potato"/>
    </UserAttribute>
    <UserAttribute nodeId="4">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateMaterial"/>
      <Attribute name="materialType" type="string" value="belt_cropDirt"/>
      <Attribute name="fillType" type="string" value="sugarBeet"/>
    </UserAttribute>
    <UserAttribute nodeId="5">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateMaterial"/>
      <Attribute name="materialType" type="string" value="belt_cropClean"/>
      <Attribute name="fillType" type="string" value="sugarBeet"/>
    </UserAttribute>
  </UserAttributes>
</i3D>
