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

<i3D name="vehicle_01" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">

  <Files>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="2" filename="$data/shared/default_normal.png" />
    <File fileId="10" filename="$data/shared/default_vmask.png" />
    <File fileId="9" filename="$data/vehicles/cars/alpine/vehicle_01/vehicle_01Lights_normal.png" />
    <File fileId="5" filename="$data/vehicles/cars/alpine/vehicle_01/vehicle_01Wheels_normal.png" />
    <File fileId="6" filename="$data/vehicles/cars/alpine/vehicle_01/vehicle_01Wheels_vmask.png" />
    <File fileId="7" filename="$data/vehicles/cars/alpine/vehicle_01/vehicle_01_normal.png" />
    <File fileId="8" filename="$data/vehicles/cars/alpine/vehicle_01/vehicle_01_vmask.png" />
    <File fileId="1" filename="$data/vehicles/cars/carWindow_diffuse.png" />
    <File fileId="3" filename="$data/vehicles/cars/carWindow_vmask.png" />
    <File fileId="11" filename="$data/vehicles/cars/driver_diffuse.png" />
    <File fileId="12" filename="$data/vehicles/cars/driver_normal.png" />
    <File fileId="13" filename="$data/vehicles/cars/driver_specular.png" />
    <File fileId="14" filename="$data/vehicles/cars/lightsGlass_diffuse.png" />
  </Files>

  <Materials>
    <Material name="lambert1" materialId="1" diffuseColor="0.152941 0.152941 0.152941 1">
    </Material>
    <Material name="carWindow_mat" materialId="7" alphaBlending="true" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="vehicle_01Wheels_mat" materialId="2" diffuseColor="0.5 0.5 0.5 1" customShaderId="4" customShaderVariation="colorMask">
      <Normalmap fileId="5"/>
      <Glossmap fileId="6"/>
    </Material>
    <Material name="vehicle_01_mat" materialId="5" diffuseColor="0.5 0.5 0.5 1" customShaderId="4" customShaderVariation="colorMask">
      <CustomParameter name="colorMat3" value="0.0545 0.0545 0.0545 12"/>
      <CustomParameter name="colorMat2" value="0.1046 0.0529 0.0185 12"/>
      <CustomParameter name="colorMat0" value="1.0000 1.0000 1.0000 0"/>
      <CustomParameter name="colorMat1" value="0.1981 0.1441 0.0685 1"/>
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="vehicle_01Lights_mat" materialId="3" diffuseColor="0.5 0.5 0.5 1" alphaBlending="true" customShaderId="4" customShaderVariation="staticLight">
      <CustomParameter name="colorMat2" value="0.5 0 0 2"/>
      <CustomParameter name="colorMat0" value="1.0 1.0 1.0 2"/>
      <CustomParameter name="colorMat1" value="1 0.25 0 2"/>
      <Normalmap fileId="9"/>
      <Glossmap fileId="10"/>
    </Material>
    <Material name="driver_mat" materialId="4">
      <Texture fileId="11"/>
      <Normalmap fileId="12"/>
      <Glossmap fileId="13"/>
    </Material>
    <Material name="lightsGlass_mat" materialId="6" alphaBlending="true" customShaderId="4">
      <Texture fileId="14"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="vehicle01" shapeId="1" kinematic="true" compound="true" collisionMask="28704" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" clipDistance="350" nodeId="1">
      <TransformGroup name="wheels" nodeId="2">
        <TransformGroup name="wheelFrontLeft" translation="0.760526 0.385225 2.75902" clipDistance="300" nodeId="3"/>
        <TransformGroup name="wheelFrontRight" translation="-0.760526 0.385225 2.75902" collision="false" clipDistance="300" nodeId="4"/>
        <TransformGroup name="wheelBackLeft" translation="0.760525 0.385225 0.00627758" collision="false" clipDistance="300" nodeId="5"/>
        <TransformGroup name="wheelBackRight" translation="-0.760525 0.385225 0.00627758" collision="false" clipDistance="300" nodeId="6"/>
      </TransformGroup>
      <TransformGroup name="lights" nodeId="7">
        <TransformGroup name="staticLights" nodeId="8">
          <Shape name="defaultLights_static" translation="0 0.0445291 1.33246" shapeId="3" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="9"/>
          <Shape name="turnLightLeft_static" translation="0 0.0445291 1.33246" shapeId="4" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="10"/>
          <Shape name="turnLightRight_static" translation="0 0.0445291 1.33246" shapeId="5" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="11"/>
          <Shape name="brakeLights_static" translation="0 0.0445291 1.33246" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="12"/>
          <Shape name="thirdBrakeLights_static" translation="0 0.0445291 1.33246" shapeId="7" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="13"/>
        </TransformGroup>
        <TransformGroup name="realLights" nodeId="14">
          <Light name="frontLightLow" translation="1.57772e-31 0.877069 3.64582" rotation="165 0 -180" scale="1 1 1" type="spot" color="0.85 0.85 1" emitDiffuse="true" emitSpecular="true" range="20" coneAngle="80" dropOff="3" clipDistance="75" nodeId="15"/>
          <Light name="frontLightHigh1" translation="-0.513127 0.877069 3.64582" rotation="165 8 180" scale="1 1 1" type="spot" color="0.85 0.85 1" emitDiffuse="true" emitSpecular="true" range="25" coneAngle="70" dropOff="3" clipDistance="75" nodeId="16">
            <Light name="frontLightHigh2" translation="-0.981347 -0.0573957 0.167316" rotation="0 16 0" scale="1 1 1" type="spot" color="0.85 0.85 1" emitDiffuse="true" emitSpecular="true" range="25" coneAngle="70" dropOff="3" clipDistance="75" nodeId="17"/>
            <Light name="backLightsHigh1" translation="-0.383513 -0.999968 4.59511" rotation="149.859 -7.72571 -177.917" scale="1 1 1" type="spot" color="0.5 0 0" emitDiffuse="true" emitSpecular="true" range="2.5" coneAngle="130" dropOff="2" clipDistance="75" nodeId="18">
              <Light name="backLightsHigh2" translation="-1.14728 2.84217e-16 -1.42109e-15" scale="1 1 1" type="spot" color="0.5 0 0" emitDiffuse="true" emitSpecular="true" range="2.5" coneAngle="130" dropOff="2" clipDistance="75" nodeId="19"/>
            </Light>
          </Light>
        </TransformGroup>
      </TransformGroup>
      <TransformGroup name="trafficCollisionNode" translation="0 1 3.51392" nodeId="20"/>
      <Shape name="driver" translation="0.378264 1.0243 1.74235" shapeId="8" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="200" nodeId="21"/>
      <TransformGroup name="vehicle01" lodDistance="0 50" collision="false" density="0" nodeId="22">
        <Shape name="LOD0" translation="0 0.0445291 1.33246" shapeId="9" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="100" nodeId="23"/>
        <Shape name="LOD1" translation="0 0.0445291 1.33246" shapeId="10" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="24"/>
        <Shape name="glass" translation="0 0.0445291 1.33246" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="70" nodeId="25"/>
        <Shape name="windows" translation="0 0.0445291 1.33246" shapeId="12" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="100" nodeId="26"/>
        <Shape name="brakeDiscs" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" skinBindNodeIds="27 3 4 5 6" clipDistance="200" nodeId="27"/>
      </TransformGroup>
      <TransformGroup name="licensePlates" nodeId="28">
        <TransformGroup name="licensePlateFront" translation="0 0.585626 3.62305" nodeId="29"/>
        <TransformGroup name="licensePlateBack" translation="5.49327e-16 1.01504 -0.862543" rotation="-1.21266 180 0" nodeId="30"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
