<?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="17" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="19" filename="$data/shared/default_diffuse.dds"/>
    <File fileId="20" filename="$data/shared/default_normal.dds"/>
    <File fileId="30" filename="$data/shared/detailLibrary/calibrated/calibratedPaint_diffuse.png"/>
    <File fileId="29" filename="$data/shared/detailLibrary/calibrated/calibratedPaint_normal.png"/>
    <File fileId="28" filename="$data/shared/detailLibrary/calibrated/calibratedPaint_specular.png"/>
    <File fileId="23" filename="$data/shared/detailLibrary/flat_normal.png"/>
    <File fileId="24" filename="$data/shared/detailLibrary/metallic/clear_diffuse.dds"/>
    <File fileId="26" filename="$data/shared/detailLibrary/metallic/clear_specular.png"/>
    <File fileId="22" filename="$data/shared/detailLibrary/metallic/rough_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="16" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="7" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.dds"/>
    <File fileId="15" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_diffuse.png"/>
    <File fileId="6" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.dds"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.png"/>
    <File fileId="12" filename="Geolander_A_T_22_Sidewall_Height.dds"/>
    <File fileId="13" filename="Geolander_A_T_22_Sidewall_Normal_OpenGL.dds"/>
    <File fileId="14" filename="base_vmask.dds"/>
    <File fileId="2" filename="thread.dds"/>
    <File fileId="18" filename="tire_offroad_vmask.dds"/>
    <File fileId="3" filename="tread_vmask.dds"/>
    <File fileId="25" filename="wheelchrome_vmask.dds"/>
    <File fileId="21" filename="wheelpaint_vmask.dds"/>
    <File fileId="27" filename="wheelred_vmask.dds"/>
  </Files>


  <Materials>
    <Material name="base" materialId="5" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Texture fileId="12"/>
      <Normalmap fileId="13" bumpDepth="0"/>
      <Glossmap fileId="14"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="15"/>
      <CustomParameter name="morphPos" value="-0.24 -0.915 0.5 0.1"/>
    </Material>
    <Material name="mud_mat" materialId="6" customShaderId="17">
      <Texture fileId="10"/>
      <Normalmap fileId="16"/>
      <Glossmap fileId="8"/>
      <CustomParameter name="morphPos" value="-0.22 -0.915 0.5 0.1"/>
    </Material>
    <Material name="tire_offroad" materialId="7" customShaderId="4" customShaderVariation="tirePressureDeformation" shadingRate="4x4">
      <Texture fileId="7"/>
      <Normalmap fileId="6" bumpDepth="0"/>
      <Glossmap fileId="18"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="15"/>
      <CustomParameter name="porosity" value="0.5"/>
      <CustomParameter name="morphPos" value="-0.27 -0.915 0.5 0.1"/>
    </Material>
    <Material name="tread" materialId="8" diffuseColor="1 1 1 1" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Normalmap fileId="2" bumpDepth="0"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
      <CustomParameter name="colorScale" value="0 0 0"/>
      <CustomParameter name="morphPos" value="-0.24 -0.915 0.5 0.1"/>
    </Material>
    <Material name="wheelchrome" materialId="9" customShaderId="4">
      <Texture fileId="24"/>
      <Normalmap fileId="20" bumpDepth="0"/>
      <Glossmap fileId="25"/>
      <Custommap name="detailSpecular" fileId="26"/>
      <Custommap name="detailNormal" fileId="23"/>
      <Custommap name="detailDiffuse" fileId="24"/>
      <CustomParameter name="smoothnessScale" value="10"/>
      <CustomParameter name="clearCoatIntensity" value="1"/>
    </Material>
    <Material name="wheelpaint" materialId="10" customShaderId="4">
      <Texture fileId="19"/>
      <Normalmap fileId="20" bumpDepth="0"/>
      <Glossmap fileId="21"/>
      <Custommap name="detailSpecular" fileId="22"/>
      <Custommap name="detailNormal" fileId="23"/>
      <Custommap name="detailDiffuse" fileId="24"/>
      <CustomParameter name="colorScale" value="0.7379 0.7454 0.7529"/>
      <CustomParameter name="clearCoatIntensity" value="1"/>
      <CustomParameter name="clearCoatSmoothness" value="1"/>
    </Material>
    <Material name="wheelred" materialId="11" customShaderId="4">
      <Texture fileId="19"/>
      <Normalmap fileId="20" bumpDepth="0"/>
      <Glossmap fileId="27"/>
      <Custommap name="detailSpecular" fileId="28"/>
      <Custommap name="detailNormal" fileId="29"/>
      <Custommap name="detailDiffuse" fileId="30"/>
      <CustomParameter name="colorScale" value="0.7 0 0"/>
      <CustomParameter name="smoothnessScale" value="0"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tire" translation="-3.99183e-05 0 0" nodeId="20">
      <Shape name="Plane.004" translation="0 0 3.43397e-08" shapeId="1" clipDistance="300" nodeId="21" castsShadows="true" receiveShadows="true" materialIds="8,5">
        <Shape name="mudMesh" shapeId="2" clipDistance="35" nodeId="22" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
      <Shape name="Wheel_Rear_Left_Dual.008" shapeId="3" clipDistance="300" nodeId="23" castsShadows="true" receiveShadows="true" materialIds="7">
        <Shape name="mudMesh" shapeId="2" clipDistance="35" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="wheel" nodeId="25">
      <Shape name="Wheel_Rear_Left_Dual.006" shapeId="4" clipDistance="300" nodeId="26" castsShadows="true" receiveShadows="true" materialIds="10,9,11"/>
      <Shape name="Wheel_Rear_Left_Dual.006" shapeId="5" clipDistance="300" nodeId="27" castsShadows="true" receiveShadows="true" materialIds="10,9,11"/>
      <Shape name="Wheel_Rear_Left_Dual.005" shapeId="6" clipDistance="300" nodeId="28" castsShadows="true" receiveShadows="true" materialIds="10,9"/>
      <Shape name="Wheel_Rear_Left_Dual.005" shapeId="7" clipDistance="300" nodeId="29" castsShadows="true" receiveShadows="true" materialIds="10,9"/>
    </TransformGroup>
  </Scene>

</i3D>
