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

<i3D name="tensionBeltMaterialHolder.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.3"/>
  </Asset>

  <Files>
    <File fileId="6" filename="$data/shaders/glowShader.xml"/>
    <File fileId="4" filename="$data/shaders/tensionBeltShader.xml"/>
    <File fileId="10" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="19" filename="$data/shared/detailLibrary/flat_normal.png"/>
    <File fileId="20" filename="$data/shared/detailLibrary/metallic/silverScratched_diffuse.png"/>
    <File fileId="18" filename="$data/shared/detailLibrary/metallic/silverScratched_specular.png"/>
    <File fileId="13" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.png"/>
    <File fileId="12" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.png"/>
    <File fileId="11" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.png"/>
    <File fileId="8" filename="$data/shared/materialHolders/tensionBelts/ratchet_normal.png"/>
    <File fileId="9" filename="$data/shared/materialHolders/tensionBelts/ratchet_specular.png"/>
    <File fileId="5" filename="$data/shared/materialHolders/tensionBelts/tensionBeltDummy_diffuse.png"/>
    <File fileId="1" filename="$data/shared/materialHolders/tensionBelts/tensionBelt_diffuse.png"/>
    <File fileId="2" filename="$data/shared/materialHolders/tensionBelts/tensionBelt_normal.png"/>
    <File fileId="3" filename="$data/shared/materialHolders/tensionBelts/tensionBelt_specular.png"/>
    <File fileId="7" filename="$data/shared/white_diffuse.png"/>
  </Files>


  <Materials>
    <Material name="ratchet_goldScratched_mat" materialId="32" customShaderId="10">
      <Texture fileId="7"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="9"/>
      <Custommap name="detailSpecular" fileId="18"/>
      <Custommap name="detailNormal" fileId="19"/>
      <Custommap name="detailDiffuse" fileId="20"/>
    </Material>
    <Material name="ratchet_rubberBlack_mat" materialId="33" customShaderId="10">
      <Texture fileId="7"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="9"/>
      <Custommap name="detailSpecular" fileId="11"/>
      <Custommap name="detailNormal" fileId="12"/>
      <Custommap name="detailDiffuse" fileId="13"/>
      <CustomParameter name="porosity" value="0.5"/>
    </Material>
    <Material name="tensionBelt_mat" materialId="26" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <CustomParameter name="beltUVScale" value="1 7"/>
    </Material>
    <Material name="tensionBeltDummy_mat" materialId="7" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="colorScale" value="0 1 0"/>
    </Material>
    <Material name="tensionBeltStatic_mat" materialId="8">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tensionBeltDefault" nodeId="58">
      <Shape name="material" shapeId="1" clipDistance="10" nodeId="59" castsShadows="true" receiveShadows="true" materialIds="26"/>
      <Shape name="dummyMaterial" shapeId="2" clipDistance="10" nodeId="60" castsShadows="true" receiveShadows="true" materialIds="7"/>
      <Shape name="ratchet" shapeId="3" clipDistance="75" nodeId="61" castsShadows="true" receiveShadows="true" materialIds="33,32">
        <TransformGroup name="sizeMarker" translation="0 -0.008173 2.08052" nodeId="62"/>
        <Shape name="beltPart" shapeId="4" clipDistance="75" nodeId="63" castsShadows="true" receiveShadows="true" materialIds="8"/>
      </Shape>
      <Shape name="hook" translation="1e-06 0 0" shapeId="5" clipDistance="75" nodeId="64" castsShadows="true" receiveShadows="true" materialIds="32">
        <TransformGroup name="sizeMarker" translation="1e-06 0 1.32512" nodeId="65"/>
        <Shape name="beltPart" shapeId="6" clipDistance="75" nodeId="66" castsShadows="true" receiveShadows="true" materialIds="8"/>
      </Shape>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="58">
      <Attribute name="name" type="string" value="small"/>
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="width" type="float" value="0.025"/>
    </UserAttribute>
    <UserAttribute nodeId="59">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="60">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="61">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="64">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="66">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
