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

<i3D name="rims.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="20" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="6" filename="$data/shared/detailLibrary/flat_normal.dds"/>
    <File fileId="13" filename="$data/shared/detailLibrary/metallic/silverScratched_diffuse.png"/>
    <File fileId="12" filename="$data/shared/detailLibrary/metallic/silverScratched_specular.png"/>
    <File fileId="10" filename="$data/shared/detailLibrary/nonMetallic/dirt_diffuse.png"/>
    <File fileId="8" filename="$data/shared/detailLibrary/nonMetallic/dirt_specular.png"/>
    <File fileId="7" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPaintedOld_diffuse.png"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPaintedOld_specular.dds"/>
    <File fileId="19" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="18" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.dds"/>
    <File fileId="17" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.dds"/>
    <File fileId="16" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.dds"/>
    <File fileId="2" filename="../txt/clayson/clayson_rim_normal.dds"/>
    <File fileId="3" filename="../txt/clayson/clayson_rim_specular.dds"/>
    <File fileId="14" filename="../txt/stomPas_normal.dds"/>
    <File fileId="15" filename="../txt/stomPas_specular.dds"/>
    <File fileId="21" filename="tireNarrow_mat_normal.png"/>
    <File fileId="22" filename="tireNarrow_mat_specular.png"/>
  </Files>


  <Materials>
    <Material name="clayson_rim" materialId="5" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
      <CustomParameter name="colorScale" value="1 0.55 0"/>
    </Material>
    <Material name="clayson_silver" materialId="6" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="12"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="13"/>
    </Material>
    <Material name="mud_mat" materialId="7" customShaderId="20">
      <Texture fileId="10"/>
      <Normalmap fileId="19"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="tireNarrow_mat" materialId="8" diffuseColor="1 1 1 1" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Normalmap fileId="21"/>
      <Glossmap fileId="22"/>
      <Custommap name="detailSpecular" fileId="16"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="18"/>
    </Material>
    <Material name="tirePasiasta_mat" materialId="9" diffuseColor="1 1 1 1" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Normalmap fileId="14"/>
      <Glossmap fileId="15"/>
      <Custommap name="detailSpecular" fileId="16"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="18"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="RimsFront" nodeId="19">
      <Shape name="rimFrontL" shapeId="1" clipDistance="300" nodeId="20" castsShadows="true" receiveShadows="true" materialIds="5,6"/>
      <Shape name="rimFrontR" shapeId="2" clipDistance="300" nodeId="21" castsShadows="true" receiveShadows="true" materialIds="5,6"/>
    </TransformGroup>
    <TransformGroup name="RimsBack" nodeId="22">
      <TransformGroup name="Super" nodeId="23">
        <Shape name="rimbackL" shapeId="3" clipDistance="300" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="5,6"/>
        <Shape name="rimbackR" shapeId="4" clipDistance="300" nodeId="25" castsShadows="true" receiveShadows="true" materialIds="5,6"/>
      </TransformGroup>
    </TransformGroup>
    <Shape name="tile_Pasy" translation="0 3.73723e-07 0" shapeId="5" clipDistance="300" nodeId="26" castsShadows="true" receiveShadows="true" materialIds="9">
      <Shape name="mudMesh" shapeId="6" clipDistance="35" nodeId="27" castsShadows="true" receiveShadows="true" materialIds="7"/>
    </Shape>
    <Shape name="tire_low" shapeId="7" clipDistance="300" nodeId="28" castsShadows="true" receiveShadows="true" materialIds="8">
      <Shape name="mudMesh" shapeId="8" clipDistance="35" nodeId="29" castsShadows="true" receiveShadows="true" materialIds="7"/>
    </Shape>
  </Scene>

</i3D>
