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

<i3D name="wheels.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="13" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="19" filename="$data/shared/detailLibrary/flat_normal.dds"/>
    <File fileId="21" filename="$data/shared/detailLibrary/metallic/silverScratched_specular.dds"/>
    <File fileId="10" filename="$data/shared/detailLibrary/nonMetallic/dirt_diffuse.png"/>
    <File fileId="8" filename="$data/shared/detailLibrary/nonMetallic/dirt_specular.png"/>
    <File fileId="22" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPaintedOld_diffuse.dds"/>
    <File fileId="20" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_diffuse.dds"/>
    <File fileId="18" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.dds"/>
    <File fileId="12" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="7" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.dds"/>
    <File fileId="6" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.dds"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.dds"/>
    <File fileId="1" filename="$data/shared/white_diffuse.dds"/>
    <File fileId="16" filename="../textures/rims_normal.dds"/>
    <File fileId="17" filename="../textures/rims_specularvmask.dds"/>
    <File fileId="14" filename="../textures/tireClaw_normal.dds"/>
    <File fileId="15" filename="../textures/tireClaw_specularvmask.dds"/>
    <File fileId="2" filename="../textures/tire_normal.dds"/>
    <File fileId="3" filename="../textures/tire_specularvmask.dds"/>
  </Files>


  <Materials>
    <Material name="1_hubColor" materialId="5" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="16"/>
      <Glossmap fileId="17"/>
      <Custommap name="detailSpecular" fileId="21"/>
      <Custommap name="detailNormal" fileId="19"/>
      <Custommap name="detailDiffuse" fileId="22"/>
    </Material>
    <Material name="1_rimColor" materialId="6" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="16"/>
      <Glossmap fileId="17"/>
      <Custommap name="detailSpecular" fileId="18"/>
      <Custommap name="detailNormal" fileId="19"/>
      <Custommap name="detailDiffuse" fileId="20"/>
      <CustomParameter name="colorScale" value="0.8 0.8 0.8"/>
      <CustomParameter name="clearCoatIntensity" value="0.87"/>
      <CustomParameter name="clearCoatSmoothness" value="1"/>
    </Material>
    <Material name="1_rubberTire" materialId="7" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Texture fileId="1"/>
      <Normalmap fileId="14"/>
      <Glossmap fileId="15"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
    </Material>
    <Material name="mud_mat" materialId="9" customShaderId="13">
      <Texture fileId="10"/>
      <Normalmap fileId="12"/>
      <Glossmap fileId="8"/>
      <CustomParameter name="morphPos" value="-0.321 -0.595 0.5 0.05"/>
    </Material>
    <Material name="tire_mat" materialId="10" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="_01_" nodeId="27">
      <Shape name="tire_front" rotation="-1.66809e-05 0 1.52185e-05" shapeId="1" clipDistance="300" nodeId="28" castsShadows="true" receiveShadows="true" materialIds="10">
        <Shape name="mudMesh" rotation="1.66809e-05 4.43066e-12 -1.52185e-05" shapeId="2" clipDistance="35" nodeId="29" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
      <Shape name="tire_back" rotation="-6.83019e-06 -0 0" shapeId="3" clipDistance="300" nodeId="30" castsShadows="true" receiveShadows="true" materialIds="10">
        <Shape name="mudMesh" rotation="6.83019e-06 -0 0" shapeId="4" clipDistance="35" nodeId="31" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
      <Shape name="tireClaw_front" shapeId="5" clipDistance="300" nodeId="32" castsShadows="true" receiveShadows="true" materialIds="7">
        <Shape name="mudMesh" shapeId="6" clipDistance="35" nodeId="33" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
      <Shape name="tireClaw_back" shapeId="7" clipDistance="300" nodeId="34" castsShadows="true" receiveShadows="true" materialIds="7">
        <Shape name="mudMesh" shapeId="8" clipDistance="35" nodeId="35" castsShadows="true" receiveShadows="true" materialIds="9"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="_02_" nodeId="36">
      <Shape name="rimFrontL" shapeId="9" clipDistance="300" nodeId="37" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="6"/>
      <Shape name="rimFrontR" rotation="180 -1.86693e-05 180" shapeId="9" clipDistance="300" nodeId="38" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="6"/>
      <Shape name="rimBackL" shapeId="10" clipDistance="300" nodeId="39" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="6"/>
      <Shape name="rimBackR" rotation="180 -1.86693e-05 180" shapeId="10" clipDistance="300" nodeId="40" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="6"/>
    </TransformGroup>
    <TransformGroup name="_03_" nodeId="41">
      <Shape name="innerRimFrontL" shapeId="11" clipDistance="300" nodeId="42" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="5"/>
      <Shape name="innerRimFrontR" rotation="180 -1.86693e-05 180" shapeId="11" clipDistance="300" nodeId="43" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="5"/>
      <Shape name="innerRimBackL" shapeId="12" clipDistance="300" nodeId="44" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="5"/>
      <Shape name="innerRimBackR" rotation="180 -1.86693e-05 180" shapeId="12" clipDistance="300" nodeId="45" castsShadows="true" receiveShadows="true" buildNavMeshMask="0xff" materialIds="5"/>
    </TransformGroup>
  </Scene>

</i3D>
