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

<i3D name="rims.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.11"/>
  </Asset>

  <Files>
    <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="14" filename="$data/shared/detailLibrary/metallic/silverScratched_diffuse.png"/>
    <File fileId="13" filename="$data/shared/detailLibrary/metallic/silverScratched_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="16" filename="$data/shared/detailLibrary/nonMetallic/plastic/plasticPainted_diffuse.png"/>
    <File fileId="15" filename="$data/shared/detailLibrary/nonMetallic/plastic/plasticPainted_specular.png"/>
    <File fileId="3" filename="../textures/rim_vMask.dds"/>
  </Files>


  <Materials>
    <Material name="rim_mat_metalPainted" materialId="7" 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.002 0.005 0.01"/>
    </Material>
    <Material name="rim_mat_metalPainted" materialId="38" 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.4 0.4 0.4"/>
    </Material>
    <Material name="rim_mat_plasticPainted" materialId="9" diffuseColor="0.8 0.8 0.8 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="15"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="16"/>
      <CustomParameter name="colorScale" value="0.01 0.01 0.01"/>
    </Material>
    <Material name="rim_mat_silverScratched" materialId="8" diffuseColor="0.8 0.8 0.8 1" customShaderId="4">
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="13"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="14"/>
      <CustomParameter name="colorScale" value="0.5 0.4 0.3"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="innerRimsBack" clipDistance="300" nodeId="17">
      <Shape name="rimBackLeft" shapeId="1" clipDistance="300" nodeId="18" castsShadows="true" receiveShadows="true" materialIds="38,7,8"/>
      <Shape name="rimBackRight" shapeId="2" clipDistance="300" nodeId="19" castsShadows="true" receiveShadows="true" materialIds="38,7,8"/>
    </TransformGroup>
    <TransformGroup name="innerRimFront" nodeId="20">
      <Shape name="rimFrontLeft" shapeId="3" clipDistance="300" nodeId="21" castsShadows="true" receiveShadows="true" materialIds="38,7,8"/>
      <Shape name="rimFrontRight" shapeId="4" clipDistance="300" nodeId="22" castsShadows="true" receiveShadows="true" materialIds="38,7,8"/>
    </TransformGroup>
    <TransformGroup name="outerRim" nodeId="23">
      <Shape name="outerRimLeft" shapeId="5" clipDistance="300" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="38,9"/>
      <Shape name="outerRimRight" shapeId="6" clipDistance="300" nodeId="25" castsShadows="true" receiveShadows="true" materialIds="38,9"/>
    </TransformGroup>
  </Scene>

</i3D>
