<?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="19" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="2" filename="$data/shared/default_normal.dds"/>
    <File fileId="6" filename="$data/shared/detailLibrary/flat_normal.png"/>
    <File fileId="13" filename="$data/shared/detailLibrary/metallic/clear_diffuse.png"/>
    <File fileId="12" filename="$data/shared/detailLibrary/metallic/clear_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/metalPainted_diffuse.png"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.png"/>
    <File fileId="18" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="17" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.png"/>
    <File fileId="16" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.png"/>
    <File fileId="15" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.png"/>
    <File fileId="3" filename="Rims_specular.dds"/>
    <File fileId="14" filename="Tire_specular.dds"/>
  </Files>


  <Materials>
    <Material name="Green" materialId="64" 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="0.04 0.201 0.024"/>
    </Material>
    <Material name="mud_mat" materialId="6" customShaderId="19">
      <Texture fileId="10"/>
      <Normalmap fileId="18"/>
      <Glossmap fileId="8"/>
      <CustomParameter name="morphPos" value="-0.371 -0.677 0.5 0.05"/>
    </Material>
    <Material name="Rubber" materialId="54" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="14"/>
      <Custommap name="detailSpecular" fileId="15"/>
      <Custommap name="detailNormal" fileId="16"/>
      <Custommap name="detailDiffuse" fileId="17"/>
      <CustomParameter name="porosity" value="0.5"/>
    </Material>
    <Material name="Silver" materialId="60" diffuseColor="1 1 1 1" customShaderId="4">
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="12"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="13"/>
    </Material>
    <Material name="Yellow" materialId="58" 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.72 0"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="LargeTires" clipDistance="1000" nodeId="17">
      <Shape name="RearRim" shapeId="1" nodeId="40" castsShadows="true" receiveShadows="true" materialIds="58,60,64"/>
      <Shape name="RearRim" shapeId="1" nodeId="74" castsShadows="true" receiveShadows="true" materialIds="58,60,64"/>
      <Shape name="RearTire" shapeId="2" nodeId="41" castsShadows="true" receiveShadows="true" materialIds="54">
        <Shape name="mudMesh" shapeId="3" clipDistance="35" nodeId="21" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="PickupTires" clipDistance="1000" nodeId="22">
      <Shape name="FrontRim" shapeId="4" nodeId="38" castsShadows="true" receiveShadows="true" materialIds="58"/>
      <Shape name="FrontRim" shapeId="4" nodeId="75" castsShadows="true" receiveShadows="true" materialIds="58"/>
      <Shape name="FrontTire" shapeId="5" nodeId="39" castsShadows="true" receiveShadows="true" materialIds="54">
        <Shape name="mudMesh" translation="-0.0155131 0 0" shapeId="3" clipDistance="35" nodeId="26" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
    </TransformGroup>
  </Scene>

</i3D>
