<?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="3" filename="../textures/specUDIM.dds"/>
    <File fileId="13" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="2" filename="$data/shared/default_normal.dds"/>
    <File fileId="16" filename="$data/shared/detailLibrary/flat_normal.dds"/>
    <File fileId="15" filename="$data/shared/detailLibrary/metallic/metalGalvanized_diffuse.dds"/>
    <File fileId="20" filename="$data/shared/detailLibrary/metallic/metalGalvanized_specular.dds"/>
    <File fileId="17" filename="$data/shared/detailLibrary/metallic/scratched_diffuse.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="12" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="19" filename="$data/shared/detailLibrary/nonMetallic/plastic/plasticPainted_diffuse.dds"/>
    <File fileId="18" filename="$data/shared/detailLibrary/nonMetallic/plastic/plasticPainted_specular.dds"/>
    <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"/>
  </Files>


  <Materials>
    <Material name="dekiel:acmat_1" materialId="5" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="18"/>
      <Custommap name="detailNormal" fileId="16"/>
      <Custommap name="detailDiffuse" fileId="19"/>
      <CustomParameter name="colorScale" value="0.01 0.01 0.01"/>
    </Material>
    <Material name="mud_mat" materialId="6" customShaderId="13">
      <Texture fileId="10"/>
      <Normalmap fileId="12"/>
      <Glossmap fileId="8"/>
      <CustomParameter name="morphPos" value="-0.177 -0.263 0.5 0.1"/>
    </Material>
    <Material name="rim_mat" materialId="7" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="15"/>
      <Custommap name="detailNormal" fileId="16"/>
      <Custommap name="detailDiffuse" fileId="17"/>
    </Material>
    <Material name="rim_mat" materialId="8" diffuseColor="1 1 1 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="20"/>
      <Custommap name="detailNormal" fileId="16"/>
      <Custommap name="detailDiffuse" fileId="17"/>
    </Material>
    <Material name="tire_mat" materialId="9" 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"/>
      <CustomParameter name="morphPos" value="-0.2 -0.9 0.5 0.1"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tireStreet" nodeId="17">
      <Shape name="tireLeft" shapeId="1" nodeId="18" castsShadows="true" receiveShadows="true" materialIds="9">
        <Shape name="mudMesh" scale="1.26378 1.35361 1.35361" shapeId="2" clipDistance="35" nodeId="19" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
      <Shape name="tireRight" shapeId="3" nodeId="20" castsShadows="true" receiveShadows="true" materialIds="9">
        <Shape name="mudMesh" scale="1.26378 1.35361 1.35361" shapeId="2" clipDistance="35" nodeId="21" castsShadows="true" receiveShadows="true" materialIds="6"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="rims" nodeId="22">
      <Shape name="rimLeft" translation="0 9.16486e-08 0" rotation="9.33467e-06 -0 0" shapeId="4" nodeId="23" castsShadows="true" receiveShadows="true" distanceBlending="false" materialIds="7">
        <Shape name="dekiel:g0" translation="0.0748486 0 0" rotation="36.7138 -0 0" scale="0.449626 0.814071 0.814071" shapeId="5" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="5"/>
      </Shape>
      <Shape name="rimRight" rotation="9.33467e-06 -0 0" shapeId="6" nodeId="25" castsShadows="true" receiveShadows="true" distanceBlending="false" materialIds="8">
        <Shape name="dekiel:g0" translation="-0.075 1.85588e-08 -2.31611e-23" rotation="-143.996 -0 -180" scale="0.45 0.814 0.814" shapeId="5" nodeId="26" castsShadows="true" receiveShadows="true" materialIds="5"/>
      </Shape>
    </TransformGroup>
    <Camera name="camera" translation="1.41345 0.096164 0.631625" rotation="-15.8139 45.3106 -2.27628e-07" nodeId="27" fov="60" nearClip="0.1" farClip="10000" orthographicHeight="1"/>
  </Scene>

</i3D>
