<?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="20" 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/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/metalPainted_diffuse.png"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.png"/>
    <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="3" filename="Black_spec.dds"/>
    <File fileId="15" filename="../specmaps/Tire_spec.dds"/>
  </Files>


  <Materials>
    <Material name="mud_mat" materialId="29" customShaderId="20">
      <Texture fileId="10"/>
      <Normalmap fileId="19"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="Rimblack" materialId="30" diffuseColor="0.8 0.8 0.8 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.012 0.012 0.012"/>
    </Material>
    <Material name="RimNEW" materialId="31" 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.723 0"/>
    </Material>
    <Material name="rubberBlackMat" materialId="32" diffuseColor="0.8 0.8 0.8 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="15"/>
      <Custommap name="detailSpecular" fileId="16"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="18"/>
      <CustomParameter name="porosity" value="0.5"/>
    </Material>
    <Material name="silverScratchedMat_rim" materialId="33" diffuseColor="0.8 0.8 0.8 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>
  </Materials>


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

  <Scene>
    <TransformGroup name="wing" nodeId="39">
      <TransformGroup name="left" nodeId="40">
        <Shape name="left" scale="0.813 0.858 0.85771" shapeId="1" nodeId="41" castsShadows="true" receiveShadows="true" materialIds="30,33,31"/>
        <Shape name="Cylinder.001" shapeId="2" nodeId="42" castsShadows="true" receiveShadows="true" materialIds="32">
          <Shape name="mudMesh" scale="0.867505 0.867505 0.867505" shapeId="3" clipDistance="35" nodeId="43" castsShadows="true" receiveShadows="true" materialIds="29"/>
        </Shape>
      </TransformGroup>
      <TransformGroup name="right" nodeId="44">
        <Shape name="left" scale="0.813 0.858 0.858" shapeId="4" nodeId="45" castsShadows="true" receiveShadows="true" materialIds="30,33,31"/>
        <Shape name="Cylinder.001" shapeId="2" nodeId="46" castsShadows="true" receiveShadows="true" materialIds="32">
          <Shape name="mudMesh" scale="0.867505 0.867505 0.867505" shapeId="3" clipDistance="35" nodeId="47" castsShadows="true" receiveShadows="true" materialIds="29"/>
        </Shape>
      </TransformGroup>
    </TransformGroup>
    <Light name="dlight" rotation="-40 0 -30" nodeId="48" type="directional" color="1 1 1" emitDiffuse="true" emitSpecular="true" castShadowMap="true" depthMapBias="0.0012" depthMapSlopeScaleBias="2" depthMapSlopeClamp="0.0005" depthMapResolution="1024" shadowFarDistance="1000" shadowExtrusionDistance="200" softShadowsLightSize="0.5" softShadowsLightDistance="15" softShadowsDepthBiasFactor="1" softShadowsMaxPenumbraSize="0.5" numShadowMapSplits="5" shadowMapSplitDistancesParameter="0.9" range="500"/>
  </Scene>

</i3D>
