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

<i3D name="vehicle_04" 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="1" filename="$data/shared/window_diffuse.png" />
    <File fileId="3" filename="$data/shared/window_vmask.png" />
    <File fileId="11" filename="$data/vehicles/cars/carWindow_diffuse.png" />
    <File fileId="12" filename="$data/vehicles/cars/carWindow_vmask.png" />
    <File fileId="13" filename="$data/vehicles/cars/driver_diffuse.png" />
    <File fileId="14" filename="$data/vehicles/cars/driver_normal.png" />
    <File fileId="15" filename="$data/vehicles/cars/driver_specular.png" />
    <File fileId="9" filename="$data/vehicles/cars/vehicle_04/vehicle_04Lights_normal.png" />
    <File fileId="10" filename="$data/vehicles/cars/vehicle_04/vehicle_04Lights_vmask.png" />
    <File fileId="7" filename="$data/vehicles/cars/vehicle_04/vehicle_04Wheel_normal.png" />
    <File fileId="8" filename="$data/vehicles/cars/vehicle_04/vehicle_04Wheel_vmask.png" />
    <File fileId="5" filename="$data/vehicles/cars/vehicle_04/vehicle_04_normal.png" />
    <File fileId="6" filename="$data/vehicles/cars/vehicle_04/vehicle_04_vmask.png" />
  </Files>

  <Materials>
    <Material name="lambert1" materialId="1" diffuseColor="0.5 0.5 0.5 1">
    </Material>
    <Material name="window_mat" materialId="6" alphaBlending="true" customShaderId="4" customShaderVariation="Window">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="vehicle_04_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="RDT" value="0.0 1.0 0.0 0.0"/>
      <CustomParameter name="colorMat0" value="1.0000 1.0000 1.0000 0"/>
      <CustomParameter name="colorMat1" value="0.1981 0.1441 0.0685 1"/>
      <Normalmap fileId="5"/>
      <Glossmap fileId="6"/>
    </Material>
    <Material name="vehicle_04Wheel_mat" materialId="2" diffuseColor="0.5 0.5 0.5 1" customShaderId="4" customShaderVariation="colorMask">
      <Normalmap fileId="7"/>
      <Glossmap fileId="8"/>
    </Material>
    <Material name="vehicle_04Lights_mat" materialId="3" diffuseColor="0.5 0.5 0.5 1" alphaBlending="true" customShaderId="4" customShaderVariation="staticLight">
      <CustomParameter name="colorMat1" value="1 0.25 0 2"/>
      <CustomParameter name="colorMat0" value="1.0 1.0 1.0 2"/>
      <CustomParameter name="colorMat2" value="0.5 0 0 2"/>
      <Normalmap fileId="9"/>
      <Glossmap fileId="10"/>
    </Material>
    <Material name="carWindow_mat" materialId="7" alphaBlending="true" customShaderId="4">
      <Texture fileId="11"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="12"/>
    </Material>
    <Material name="driver_mat" materialId="4">
      <Texture fileId="13"/>
      <Normalmap fileId="14"/>
      <Glossmap fileId="15"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="vehicle04" 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.618506 0.30162 2.679868" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="3"/>
        <Shape name="wheelFrontRight" translation="-0.618505 0.30162 2.679868" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="4"/>
        <Shape name="wheelBackLeft" translation="0.73147 0.30162 -0.0008" shapeId="4" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="5"/>
        <Shape name="wheelBackRight" translation="-0.731469 0.30162 -0.0008" 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" translation="0 0 1.347471" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="9"/>
          <Shape name="turnLightLeft_static" translation="0 0 1.347471" shapeId="7" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="10"/>
          <Shape name="turnLightRight_static" translation="0 0 1.347471" shapeId="8" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="11"/>
          <Shape name="brakeLights_static" translation="0 0 1.347471" shapeId="9" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="12"/>
        </TransformGroup>
        <TransformGroup name="realLights" nodeId="13">
          <Light name="frontLightLow" translation="0 0.6 3.558769" rotation="165 0 -180" type="spot" color="0.85 0.85 1" emitDiffuse="true" emitSpecular="true" range="20" coneAngle="80" dropOff="3" clipDistance="75" nodeId="14"/>
          <Light name="frontLightHigh1" translation="-0.5 0.6 3.5" rotation="165 8 180" type="spot" color="0.85 0.85 1" emitDiffuse="true" emitSpecular="true" range="25" coneAngle="70" dropOff="3" clipDistance="75" nodeId="15">
            <Light name="frontLightHigh2" translation="-0.990268 -0.036021 0.134431" rotation="0.575673 15.440958 4.244435" 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="backLightHigh1" translation="0.694343 -0.914026 4.183932" rotation="149.859329 -7.725712 -177.916809" 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="backLightHigh2" translation="1.184424 -0 0" 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 1 3.569045" nodeId="19"/>
      <Shape name="driver" translation="0.337731 0.762421 1.757066" shapeId="10" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="200" nodeId="20"/>
      <TransformGroup name="vehicle04" lodDistance="0 50" collision="false" nodeId="21">
        <Shape name="LOD0" translation="0 0.754423 1.34494" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="22">
          <Shape name="lights_static" translation="0 -0.754423 0.002531" shapeId="12" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="75" nodeId="23"/>
          <Shape name="lightsGlass" translation="0 -0.754423 0.002531" shapeId="13" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="40" nodeId="24"/>
        </Shape>
        <Shape name="LOD1" translation="0 0.754423 1.34494" shapeId="14" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="25"/>
        <Shape name="windows" translation="0 0 1.347471" shapeId="15" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="200" nodeId="26"/>
      </TransformGroup>
      <TransformGroup name="licensePlates" nodeId="27">
        <TransformGroup name="licensePlateFront" translation="0 0.364803 3.549887" rotation="10.79356 0 0" nodeId="28"/>
        <TransformGroup name="licensePlateBack" translation="0 0.762799 -0.838371" rotation="-7.685112 180 0" scale="0.9 0.9 0.9" collision="false" nodeId="29"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
