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

<i3D name="vehicle_02" 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="3" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="12" filename="$data/shared/default_normal.png" />
    <File fileId="6" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02Lights_normal.png" />
    <File fileId="7" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02Lights_vmask.png" />
    <File fileId="4" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02Wheel_normal.png" />
    <File fileId="5" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02Wheel_vmask.png" />
    <File fileId="1" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02_normal.png" />
    <File fileId="2" filename="$data/vehicles/cars/alpine/vehicle_02/vehicle_02_vmask.png" />
    <File fileId="11" filename="$data/vehicles/cars/carWindow_diffuse.png" />
    <File fileId="13" filename="$data/vehicles/cars/carWindow_vmask.png" />
    <File fileId="8" filename="$data/vehicles/cars/driver_diffuse.png" />
    <File fileId="9" filename="$data/vehicles/cars/driver_normal.png" />
    <File fileId="10" 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.5 0.5 0.5 1">
    </Material>
    <Material name="vehicle_02_vmask_mat" materialId="5" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" 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="1"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="vehicle_02Wheel_vmask_mat" materialId="2" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" customShaderVariation="colorMask">
      <Normalmap fileId="4"/>
      <Glossmap fileId="5"/>
    </Material>
    <Material name="vehicle_02Lights_vmask_mat" materialId="3" diffuseColor="0.5 0.5 0.5 1" alphaBlending="true" customShaderId="3" 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="6"/>
      <Glossmap fileId="7"/>
    </Material>
    <Material name="driver_mat" materialId="4">
      <Texture fileId="8"/>
      <Normalmap fileId="9"/>
      <Glossmap fileId="10"/>
    </Material>
    <Material name="carWindow_mat" materialId="6" alphaBlending="true" customShaderId="3">
      <Texture fileId="11"/>
      <Normalmap fileId="12"/>
      <Glossmap fileId="13"/>
    </Material>
    <Material name="lightsGlass_mat" materialId="7" alphaBlending="true" customShaderId="3">
      <Texture fileId="14"/>
      <Normalmap fileId="12"/>
      <Glossmap fileId="13"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="vehicle02" shapeId="1" kinematic="true" compound="true" collisionMask="28704" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="1" clipDistance="300" nodeId="1">
      <TransformGroup name="wheels" nodeId="2">
        <Shape name="wheelFrontLeft" translation="0.673555 0.329917 2.67568" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="3"/>
        <Shape name="wheelFrontRight" translation="-0.673555 0.329917 2.67568" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="4"/>
        <Shape name="wheelBackLeft" translation="0.673555 0.329917 5.13458e-05" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="5"/>
        <Shape name="wheelBackRight" translation="-0.673555 0.329917 5.13458e-05" shapeId="5" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="6"/>
      </TransformGroup>
      <TransformGroup name="lights" nodeId="7">
        <TransformGroup name="staticLights" nodeId="8">
          <Shape name="defaultLights_static" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="9"/>
          <Shape name="turnLightLeft_static" shapeId="7" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="10"/>
          <Shape name="turnLightRight_static" shapeId="8" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="11"/>
          <Shape name="brakeLights_static" shapeId="9" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="12"/>
          <Shape name="thirdBrakeLights_static" shapeId="10" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="13"/>
        </TransformGroup>
        <TransformGroup name="realLights" nodeId="14">
          <Light name="frontLightLow" translation="-1.13687e-15 0.701816 3.51515" 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.534728 0.701816 3.51515" 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="-1.05374 -0.0600288 0.177143" 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.580115 -0.919565 4.46316" 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.3457 0 -1.63425e-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.49888" nodeId="20"/>
      <Shape name="driver" translation="0.427372 0.799141 1.65681" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="200" nodeId="21"/>
      <TransformGroup name="vehicle02" lodDistance="0 50" collision="false" density="0" nodeId="22">
        <Shape name="LOD0" shapeId="12" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="23"/>
        <Shape name="LOD1" translation="0 0.850229 1.27773" shapeId="13" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="24"/>
        <Shape name="windows" shapeId="14" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="150" nodeId="25"/>
        <Shape name="glass" shapeId="15" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="80" nodeId="26"/>
      </TransformGroup>
      <TransformGroup name="licensePlates" nodeId="27">
        <TransformGroup name="licensePlateFront" translation="0 0.509741 3.55618" rotation="5.15388 0 0" nodeId="28"/>
        <TransformGroup name="licensePlateBack" translation="5.52469e-16 0.843841 -0.95507" rotation="-16.628 180 0" nodeId="29"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
