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

<i3D name="tensionBeltMaterialHolder" 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="6" filename="$data/shaders/glowShader.xml" />
    <File fileId="4" filename="$data/shaders/tensionBeltShader.xml" />
    <File fileId="9" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="7" filename="ratchet_normal.png" />
    <File fileId="8" filename="ratchet_specular.png" />
    <File fileId="5" filename="tensionBeltDummy_diffuse.png" />
    <File fileId="10" filename="tensionBeltUS_diffuse.png" />
    <File fileId="11" filename="tensionBeltUS_normal.png" />
    <File fileId="12" filename="tensionBeltUS_specular.png" />
    <File fileId="1" filename="tensionBelt_diffuse.png" />
    <File fileId="2" filename="tensionBelt_normal.png" />
    <File fileId="3" filename="tensionBelt_specular.png" />
  </Files>

  <Materials>
    <Material name="tensionBelt_mat" materialId="1" customShaderId="4">
      <CustomParameter name="beltUVScale" value="1 7"/>
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="tensionBeltDummy_mat" materialId="2" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <CustomParameter name="colorScale" value="0 1 0 1"/>
      <Emissivemap fileId="5"/>
    </Material>
    <Material name="ratchet_mat" materialId="3" diffuseColor="0.5 0.5 0.5 1" customShaderId="9" customShaderVariation="colorMask">
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="tensionBeltStatic_mat" materialId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="tensionBeltUS_mat" materialId="5" customShaderId="4">
      <CustomParameter name="beltUVScale" value="1 7"/>
      <Texture fileId="10"/>
      <Normalmap fileId="11"/>
      <Glossmap fileId="12"/>
    </Material>
    <Material name="ratchetUS_mat" materialId="7" diffuseColor="0.5 0.5 0.5 1" customShaderId="9" customShaderVariation="colorMask">
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="tensionBeltUSStatic_mat" materialId="6">
      <Texture fileId="10"/>
      <Normalmap fileId="11"/>
      <Glossmap fileId="12"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tensionBeltDefault" nodeId="1">
      <Shape name="material" shapeId="1" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="10" nodeId="2"/>
      <Shape name="dummyMaterial" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="10" nodeId="3"/>
      <Shape name="ratchet" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="75" nodeId="4">
        <TransformGroup name="sizeMarker" translation="0 0 3.280925" nodeId="5"/>
        <Shape name="beltPart" translation="-0 -0 -0" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="75" nodeId="6"/>
      </Shape>
      <Shape name="hook" shapeId="5" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="75" nodeId="7">
        <TransformGroup name="sizeMarker" translation="0 0 1.38414" nodeId="8"/>
        <Shape name="beltPart" shapeId="6" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="75" nodeId="9"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="tensionBeltUS" nodeId="10">
      <Shape name="material" shapeId="7" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="10" nodeId="11"/>
      <Shape name="dummyMaterial" shapeId="8" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="10" nodeId="12"/>
      <TransformGroup name="ratchetDummy" nodeId="13">
        <TransformGroup name="sizeMarker" translation="0 0 3.280925" nodeId="14"/>
      </TransformGroup>
      <Shape name="strapRolled" shapeId="9" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="75" nodeId="15">
        <TransformGroup name="sizeMarker" translation="0 0 0.412435" nodeId="16"/>
      </Shape>
      <Shape name="hook" shapeId="10" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="75" nodeId="17">
        <TransformGroup name="sizeMarker" translation="0 0.007294 0.838885" nodeId="18"/>
        <Shape name="strap" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="75" nodeId="19"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="tensionBeltUS_01" nodeId="20">
      <Shape name="material" shapeId="12" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="10" nodeId="21"/>
      <Shape name="dummyMaterial" shapeId="13" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="10" nodeId="22"/>
      <TransformGroup name="ratchetDummy" nodeId="23">
        <TransformGroup name="sizeMarker" translation="0 0 3.280925" nodeId="24"/>
      </TransformGroup>
      <Shape name="strapRolled" shapeId="14" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="75" nodeId="25">
        <TransformGroup name="sizeMarker" translation="0 0 0.412435" nodeId="26"/>
      </Shape>
      <Shape name="hook" shapeId="15" castsShadows="true" receiveShadows="true" materialIds="3" clipDistance="75" nodeId="27">
        <TransformGroup name="sizeMarker" translation="0 0 1.38414" nodeId="28"/>
        <Shape name="strap" translation="0 0 0.551552" shapeId="16" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="75" nodeId="29"/>
      </Shape>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="1">
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="name" type="string" value="basic"/>
      <Attribute name="width" type="float" value="0.05"/>
    </UserAttribute>
    <UserAttribute nodeId="2">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="3">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="4">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="6">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="7">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="9">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="10">
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="name" type="string" value="us"/>
      <Attribute name="width" type="float" value="0.1"/>
    </UserAttribute>
    <UserAttribute nodeId="11">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="12">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="13">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="15">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="17">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="19">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="20">
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="name" type="string" value="us_01"/>
      <Attribute name="width" type="float" value="0.1"/>
    </UserAttribute>
    <UserAttribute nodeId="21">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="22">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="23">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="25">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="29">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="27">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>
</i3D>
