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

<i3D name="fillableBucket.i3d" 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="10.0.11"/>
  </Asset>

  <Files>
    <File fileId="22" filename="$data/fillPlanes/liquidManure_normal.dds"/>
    <File fileId="23" filename="$data/fillPlanes/liquidManure_specular.dds"/>
    <File fileId="13" filename="$data/maps/textures/shared/water_normal.png"/>
    <File fileId="11" filename="$data/shaders/decalShader.xml"/>
    <File fileId="16" filename="$data/shaders/oceanShader.xml"/>
    <File fileId="15" filename="$data/shaders/streamShader.xml"/>
    <File fileId="5" filename="$data/shared/default_normal.png"/>
    <File fileId="12" filename="$data/shared/fakeWater_diffuse.dds"/>
    <File fileId="6" filename="bucketGalvanized_diffuse.png"/>
    <File fileId="7" filename="bucketGalvanized_normal.png"/>
    <File fileId="8" filename="bucketGalvanized_specular.png"/>
    <File fileId="10" filename="../textures/milkFontDecal_diffuse.dds"/>
    <File fileId="21" filename="../textures/milk_diffuse.dds"/>
  </Files>


  <Materials>
    <Material name="bucketFontsDecal_milk" materialId="5" alphaBlending="true" customShaderId="11">
      <Texture fileId="10"/>
    </Material>
    <Material name="bucketGalvanized_mat" materialId="6">
      <Texture fileId="6"/>
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="default_mat" materialId="7" diffuseColor="0.494118 0.494118 0.494118 1">
      <Normalmap fileId="5"/>
    </Material>
    <Material name="lambert1" materialId="8" diffuseColor="0.494118 0.494118 0.494118 1">
    </Material>
    <Material name="lambert1" materialId="9" diffuseColor="0.498039 0.498039 0.498039 1">
    </Material>
    <Material name="material_fill" materialId="10" diffuseColor="0.8 0.8 0.8 1" specularColor="0.494118 1 0">
    </Material>
    <Material name="milk_mat" materialId="11" customShaderId="15">
      <Texture fileId="21"/>
      <Normalmap fileId="22"/>
      <Glossmap fileId="23"/>
      <CustomParameter name="directions" value="0 0.03 -0.03 0"/>
    </Material>
    <Material name="UnnamedMaterial" materialId="12" diffuseColor="1 1 1 1">
    </Material>
    <Material name="waterSimPonds_mat" materialId="13" specularColor="0.690196 1 0.709804" customShaderId="15">
      <Texture fileId="12"/>
      <Normalmap fileId="13"/>
      <Refractionmap coeff="1" bumpScale="0.01" withSSRData="true"/>
      <CustomParameter name="directions" value="-0.01 0 0.01 0"/>
    </Material>
    <Material name="waterSimPonds_mat" materialId="14" diffuseColor="1 1 1 1" specularColor="1 1 1" customShaderId="16">
      <Normalmap fileId="13"/>
      <Refractionmap coeff="1" bumpScale="0.01" withSSRData="true"/>
      <CustomParameter name="bumpSpeedScale" value="0.2 0.2 0.5"/>
      <CustomParameter name="underwaterFogColor" value="0.01 0.0129885 0.0102052 1"/>
      <CustomParameter name="depthScale" value="0.001"/>
      <CustomParameter name="ssrRoughness" value="0.024"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="fillableBucket_main_component1" shapeId="1" dynamic="true" compound="true" collisionFilterGroup="0x10004" collisionFilterMask="0xfe3ffb83" clipDistance="100" nodeId="27" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="8">
      <TransformGroup name="fillUnit" translation="0 0.0114768 0" nodeId="28">
        <TransformGroup name="dischargeNode" translation="0 0.427178 -3.38722e-09" rotation="180 0 0" nodeId="29"/>
        <Shape name="exactFillRootNode" translation="0 0.417987 0" shapeId="2" kinematic="true" compound="true" collisionFilterGroup="0x40000000" collisionFilterMask="0x20000000" nodeId="30" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="8"/>
        <Shape name="fillVolume" translation="-2.32831e-10 0.203637 2.79397e-09" rotation="-4.52669e-16 2.53462e-31 3.20815e-14" scale="0.98 0.85 0.98" shapeId="3" nodeId="31" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="10"/>
        <TransformGroup name="fillVolumeLoadNode" translation="-2.18372e-16 0.39 4.77542e-10" rotation="-4.52669e-16 2.53462e-31 3.20815e-14" nodeId="32"/>
        <TransformGroup name="fillVolumeUnloadNode" translation="0 -2.84217e-16 0" rotation="-4.52669e-16 2.53462e-31 3.20815e-14" nodeId="33"/>
        <TransformGroup name="effects" translation="-2.68213e-31 0 0" nodeId="34">
          <Shape name="emitterShape" translation="0.00390539 0.426049 -0.000627578" scale="1.58423 1 1" shapeId="4" clipDistance="300" nodeId="35" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="12"/>
          <Shape name="smokeEffect" translation="0 1.48461 -8.17733e-07" rotation="-180 -0 0" shapeId="5" visibility="false" clipDistance="100" nodeId="36" castsShadows="true" receiveShadows="true" materialIds="7"/>
        </TransformGroup>
        <TransformGroup name="shovelNode" translation="-2.18372e-16 0.4 4.77542e-10" rotation="-90 2.53462e-31 3.20815e-14" nodeId="37"/>
        <Shape name="dynamicMountTrigger" translation="-0.00649741 0.0627228 -0.00450202" shapeId="6" kinematic="true" trigger="true" collisionFilterGroup="0x20000000" collisionFilterMask="0x20000" clipDistance="100" nodeId="62" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="8"/>
      </TransformGroup>
      <Shape name="bucketGalvanized" translation="0 0.0114768 0" shapeId="7" nodeId="38" castsShadows="true" receiveShadows="true" materialIds="6">
        <Shape name="solidColi" shapeId="8" compoundChild="true" collisionFilterGroup="0x10004" collisionFilterMask="0xfe3ffb83" density="0.001" nodeId="39" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="9"/>
        <TransformGroup name="fillTypeDecals" nodeId="40">
          <Shape name="milkDecal" shapeId="9" clipDistance="40" nodeId="41" castsShadows="true" receiveShadows="true" materialIds="5"/>
          <Shape name="milkDecal" rotation="0 180 0" shapeId="9" clipDistance="40" nodeId="42" castsShadows="true" receiveShadows="true" materialIds="5"/>
        </TransformGroup>
      </Shape>
      <Shape name="externalControlTrigger" translation="0 0.5 0" shapeId="10" kinematic="true" trigger="true" collisionFilterGroup="0x20000000" collisionFilterMask="0x100000" nodeId="43" castsShadows="false" receiveShadows="false" nonRenderable="true" distanceBlending="false" materialIds="12"/>
      <TransformGroup name="fillPlanes" nodeId="44">
        <Shape name="fillPlane" shapeId="11" clipDistance="1500" nodeId="45" castsShadows="false" receiveShadows="true" materialIds="13"/>
      </TransformGroup>
      <TransformGroup name="materialHolders" visibility="false" nodeId="46">
        <Shape name="water_mat" shapeId="12" clipDistance="300" nodeId="47" castsShadows="false" receiveShadows="true" materialIds="14"/>
        <Shape name="milk_mat" shapeId="12" clipDistance="300" nodeId="48" castsShadows="true" receiveShadows="true" materialIds="11"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="45">
      <Attribute name="onCreate" type="scriptCallback" value="Environment.onCreateWater"/>
    </UserAttribute>
    <UserAttribute nodeId="47">
      <Attribute name="onCreate" type="scriptCallback" value="Environment.onCreateWater"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
