<?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="3" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="6" filename="$data/shared/clearGlass_diffuse.png" />
    <File fileId="10" filename="$data/shared/default_normal.png" />
    <File fileId="9" filename="$data/vehicles/cars/carWindow_diffuse.png" />
    <File fileId="11" filename="$data/vehicles/cars/carWindow_vmask.png" />
    <File fileId="12" filename="$data/vehicles/cars/driver_diffuse.png" />
    <File fileId="13" filename="$data/vehicles/cars/driver_normal.png" />
    <File fileId="14" filename="$data/vehicles/cars/driver_specular.png" />
    <File fileId="7" filename="$data/vehicles/cars/vehicle_01/vehicle01Lights_normal.png" />
    <File fileId="8" filename="$data/vehicles/cars/vehicle_01/vehicle01Lights_vmask.png" />
    <File fileId="4" filename="$data/vehicles/cars/vehicle_01/vehicle01Wheel_normal.png" />
    <File fileId="5" filename="$data/vehicles/cars/vehicle_01/vehicle01Wheel_vmask.png" />
    <File fileId="1" filename="$data/vehicles/cars/vehicle_01/vehicle01_normal.png" />
    <File fileId="2" filename="$data/vehicles/cars/vehicle_01/vehicle01_vmask.png" />
  </Files>

  <Materials>
    <Material name="lambert1" materialId="1" diffuseColor="0.5 0.5 0.5 1">
    </Material>
    <Material name="vehicle01_mat" materialId="5" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" customShaderVariation="colorMask">
      <CustomParameter name="colorMat0" value="1.0 1.0 1.0 33"/>
      <Normalmap fileId="1"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="vehicle01Wheel_mat" materialId="2" diffuseColor="0.5 0.5 0.5 1" customShaderId="3" customShaderVariation="colorMask">
      <Normalmap fileId="4"/>
      <Glossmap fileId="5"/>
    </Material>
    <Material name="clearGlass_mat" materialId="7" 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"/>
      <Texture fileId="6"/>
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="vehicle01Lights_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="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="carWindow_mat" materialId="6" alphaBlending="true" customShaderId="3">
      <Texture fileId="9"/>
      <Normalmap fileId="10"/>
      <Glossmap fileId="11"/>
    </Material>
    <Material name="driver_mat" materialId="4">
      <Texture fileId="12"/>
      <Normalmap fileId="13"/>
      <Glossmap fileId="14"/>
    </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">
        <Shape name="wheelFrontLeft" translation="0.768743 0.310951 2.64155" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="200" nodeId="3"/>
        <Shape name="wheelFrontRight" translation="-0.768742 0.310951 2.64155" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="200" nodeId="4"/>
        <Shape name="wheelBackLeft" translation="0.768743 0.310951 -0.00314111" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="200" nodeId="5"/>
        <Shape name="wheelBackRight" translation="-0.768742 0.310951 -0.00314111" shapeId="5" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="200" nodeId="6"/>
      </TransformGroup>
      <TransformGroup name="lights" translation="0 -0.0585008 1.26621" nodeId="7">
        <TransformGroup name="staticLights" translation="0 0.0585008 -1.26621" nodeId="8">
          <Shape name="defaultLights_static" translation="2.75393e-07 0.712859 1.26848" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="9"/>
          <Shape name="turnLightLeft_static" translation="2.75393e-07 0.712859 1.26848" shapeId="7" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="10"/>
          <Shape name="turnLightRight_static" translation="2.75393e-07 0.712859 1.26848" shapeId="8" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="11"/>
          <Shape name="brakeLights_static" translation="2.75393e-07 0.712859 1.26848" shapeId="9" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="12"/>
        </TransformGroup>
        <TransformGroup name="realLights" translation="0 0.0585008 -1.26621" nodeId="13">
          <Light name="frontLightLow" translation="1.18329e-31 0.636206 3.42237" 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="14"/>
          <Light name="frontLightHigh" translation="-0.513127 0.636206 3.42237" 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="15">
            <Light name="frontLightHigh1" 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="16"/>
            <Light name="backLightsHigh" translation="-0.430966 -0.961617 4.25583" 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="17">
              <Light name="backLightsHigh2" translation="-1.14728 2.84217e-16 -1.13687e-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="18"/>
            </Light>
          </Light>
        </TransformGroup>
      </TransformGroup>
      <TransformGroup name="trafficCollisionNode" translation="0 0.991515 3.39235" nodeId="19"/>
      <Shape name="driver" translation="0.339872 0.725947 1.50704" shapeId="10" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="200" nodeId="20"/>
      <TransformGroup name="vehicle01" lodDistance="0 50" collision="false" density="0" nodeId="21">
        <Shape name="LOD0" translation="2.75393e-07 0.749383 1.21404" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="22"/>
        <Shape name="LOD1" translation="2.75393e-07 0.749383 1.21404" shapeId="12" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="23"/>
        <Shape name="windows" translation="0 -0.0585008 1.26621" shapeId="13" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="100" nodeId="24"/>
        <Shape name="light_windows" translation="2.37246e-07 0.71367 1.26848" shapeId="14" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="45" nodeId="25"/>
        <Shape name="axles" translation="1.78814e-07 0.310951 2.64155" shapeId="15" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="90" nodeId="26"/>
      </TransformGroup>
      <TransformGroup name="licensePlates" nodeId="27">
        <TransformGroup name="licensePlateFront" translation="0 0.374123 3.43486" rotation="-5.27402 0 0" nodeId="28"/>
        <TransformGroup name="licensePlateBack" translation="3.46873e-18 0.601359 -0.959624" rotation="-5.27402 180 0" nodeId="29"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
