<?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.8"/>
  </Asset>

  <Files>
    <File fileId="1" filename="tensionBeltHRFF_diffuse.dds"/>
    <File fileId="3" filename="tensionBeltHRFF_vmask.dds"/>
    <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="2" filename="$data/shared/materialHolders/tensionBelts/tensionBelt_normal.png"/>
    <File fileId="7" filename="$data/shared/white_diffuse.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="7" 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="8" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <CustomParameter name="beltUVScale" value="1 7"/>
    </Material>
    <Material name="tensionBelt_mat1" materialId="9">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="tensionBeltDummy_mat" materialId="10" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="colorScale" value="0 1 0"/>
    </Material>
    <Material name="tensionBeltDummy_mat" materialId="11" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="lightControl" value="10"/>
      <CustomParameter name="colorScale" value="0 0.1 0.1"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tensionBeltHRFF" nodeId="30">
      <Shape name="material" shapeId="1" clipDistance="10" nodeId="31" castsShadows="true" receiveShadows="true" materialIds="8"/>
      <Shape name="dummyMaterial" shapeId="2" clipDistance="10" nodeId="32" castsShadows="true" receiveShadows="true" materialIds="10"/>
      <Shape name="dummyMaterial" shapeId="2" clipDistance="10" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="11"/>
      <Shape name="ratchet" shapeId="3" clipDistance="75" nodeId="33" castsShadows="true" receiveShadows="true" materialIds="7,5">
        <TransformGroup name="sizeMarker" translation="0 -0.008173 2.08052" nodeId="34"/>
        <Shape name="beltPart" shapeId="4" clipDistance="75" nodeId="35" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
      <Shape name="hook" translation="1e-06 0 0" shapeId="5" clipDistance="75" nodeId="36" castsShadows="true" receiveShadows="true" materialIds="5">
        <TransformGroup name="sizeMarker" translation="1e-06 0 1.32512" nodeId="37"/>
        <Shape name="beltPart" shapeId="6" clipDistance="75" nodeId="38" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="30">
      <Attribute name="name" type="string" value="hrffSMLP"/>
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="width" type="float" value="0.05"/>
    </UserAttribute>
    <UserAttribute nodeId="31">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="32">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="24">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="33">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="36">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="38">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
