<?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.11"/>
  </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="7" filename="$data/shared/white_diffuse.png"/>
    <File fileId="1" filename="tensionBeltRope_diffuse.png"/>
    <File fileId="2" filename="tensionBeltRope_normal.png"/>
    <File fileId="3" filename="tensionBeltRope_specular.png"/>
  </Files>


  <Materials>
    <Material name="ratchet_goldScratched_mat" materialId="5" 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="6" 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="tensionBeltDummy_mat" materialId="7" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="colorScale" value="0 1 0"/>
    </Material>
    <Material name="tensionBeltRope_mat" materialId="8" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <CustomParameter name="beltUVScale" value="1 7"/>
    </Material>
    <Material name="tensionBeltStatic_mat" materialId="48">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="textilRope" nodeId="17">
      <Shape name="material" shapeId="1" clipDistance="10" nodeId="18" castsShadows="true" receiveShadows="true" materialIds="8"/>
      <Shape name="dummyMaterial" shapeId="2" clipDistance="10" nodeId="19" castsShadows="true" receiveShadows="true" materialIds="7"/>
      <Shape name="ratchet" shapeId="3" clipDistance="75" nodeId="20" castsShadows="true" receiveShadows="true" materialIds="6,5">
        <TransformGroup name="sizeMarker" translation="0 -0.008173 2.08052" nodeId="21"/>
        <Shape name="beltPart" shapeId="4" clipDistance="75" nodeId="22" castsShadows="true" receiveShadows="true" materialIds="48"/>
      </Shape>
      <Shape name="hook" translation="1e-06 0 0" shapeId="5" clipDistance="75" nodeId="23" castsShadows="true" receiveShadows="true" materialIds="5">
        <TransformGroup name="sizeMarker" translation="1e-06 0 1.32512" nodeId="24"/>
        <Shape name="beltPart" shapeId="6" clipDistance="75" nodeId="25" castsShadows="true" receiveShadows="true" materialIds="48"/>
      </Shape>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="17">
      <Attribute name="name" type="string" value="textilRope"/>
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="width" type="float" value="0.01"/>
    </UserAttribute>
    <UserAttribute nodeId="18">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="19">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="20">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="23">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="25">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
