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

<i3D name="vehicle_03" 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="3" filename="$data/shared/window02_specular.png" />
    <File fileId="1" filename="$data/shared/window_diffuse.png" />
    <File fileId="9" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03Lights_normal.png" />
    <File fileId="10" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03Lights_vmask.png" />
    <File fileId="7" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03Wheels_normal.png" />
    <File fileId="8" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03Wheels_vmask.png" />
    <File fileId="5" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03_normal.png" />
    <File fileId="6" filename="$data/vehicles/cars/alpine/vehicle_03/vehicle_03_vmask.png" />
    <File fileId="14" filename="$data/vehicles/cars/carWindow_diffuse.png" />
    <File fileId="15" 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" />
  </Files>

  <Materials>
    <Material name="lambert1" materialId="1" diffuseColor="0.5 0.5 0.5 1">
    </Material>
    <Material name="window_mat" materialId="7" alphaBlending="true" customShaderId="4" customShaderVariation="Window">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="vehicle_03_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="5"/>
      <Glossmap fileId="6"/>
    </Material>
    <Material name="vehicle_03Wheels_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_03Lights_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="carWindow_mat" materialId="6" alphaBlending="true" customShaderId="4">
      <Texture fileId="14"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="15"/>
    </Material>
  </Materials>


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

  <Scene>
    <Shape name="vehicle03" 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.718385 0.327394 2.64475" clipDistance="300" nodeId="3"/>
        <TransformGroup name="wheelFrontRight" translation="-0.718385 0.327394 2.64475" collision="false" clipDistance="300" nodeId="4"/>
        <TransformGroup name="wheelBackLeft" translation="0.718385 0.327394 0.0155922" collision="false" clipDistance="300" nodeId="5"/>
        <TransformGroup name="wheelBackRight" translation="-0.718385 0.327394 0.0155922" collision="false" clipDistance="300" nodeId="6"/>
      </TransformGroup>
      <TransformGroup name="lights" nodeId="7">
        <TransformGroup name="staticLights" nodeId="8">
          <Shape name="defaultLights_static" shapeId="3" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="9"/>
          <Shape name="turnLightLeft_static" shapeId="4" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="10"/>
          <Shape name="turnLightRight_static" shapeId="5" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="11"/>
          <Shape name="brakeLights_static" shapeId="6" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="350" nodeId="12"/>
        </TransformGroup>
        <TransformGroup name="realLights" nodeId="13">
          <Light name="frontLightLow" translation="1.57772e-31 0.685173 3.48455" 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="frontLightHigh1" translation="-0.513127 0.685173 3.48455" 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="frontLightHigh2" translation="-1.01095 -0.0584726 0.171335" 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="backLightsHigh1" translation="-0.603226 -0.925997 4.12401" 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.32978 2.84217e-16 -1.49214e-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 1 3.38786" nodeId="19"/>
      <Shape name="driver" translation="0.361736 0.762421 1.59533" shapeId="7" castsShadows="true" receiveShadows="true" materialIds="4" clipDistance="200" nodeId="20"/>
      <TransformGroup name="vehicle03" lodDistance="0 50" collision="false" density="0" nodeId="21">
        <Shape name="LOD0" shapeId="8" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="22">
          <Shape name="reflectors_static" shapeId="9" castsShadows="true" receiveShadows="true" decalLayer="1" materialIds="3" clipDistance="75" nodeId="23"/>
        </Shape>
        <Shape name="LOD1" translation="5.34058e-07 0.806994 1.37775" shapeId="10" castsShadows="true" receiveShadows="true" materialIds="5" clipDistance="300" nodeId="24"/>
        <Shape name="windows" shapeId="11" castsShadows="true" receiveShadows="true" materialIds="6" clipDistance="100" nodeId="25"/>
        <Shape name="brakeDiscs" translation="0.718385 0.327394 0.0155922" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" skinBindNodeIds="26 3 4 5 6" clipDistance="200" nodeId="26"/>
        <Shape name="lightsGlass" shapeId="12" castsShadows="true" receiveShadows="true" materialIds="7" clipDistance="60" nodeId="27"/>
      </TransformGroup>
      <TransformGroup name="licensePlates" nodeId="28">
        <TransformGroup name="licensePlateFront" translation="0 0.516519 3.51714" rotation="-11.9961 0 0" nodeId="29"/>
        <TransformGroup name="licensePlateBack" translation="2.51315e-19 0.764264 -0.687383" rotation="-11.0044 180 0" nodeId="30"/>
      </TransformGroup>
    </Shape>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
