<?xml version='1.0' encoding='UTF-8'?>
<world>
  <plugins>
    <plugin name='thing'>crystalspace.mesh.loader.thing</plugin>
    <plugin name='thingfact'>crystalspace.mesh.loader.factory.thing</plugin>
    <plugin name='genmesh'>crystalspace.mesh.loader.genmesh</plugin>
    <plugin name='genmeshfact'>crystalspace.mesh.loader.factory.genmesh</plugin>
  </plugins>
  <shaders>
    <shader>
      <file>/shader/std_lighting.xml</file>
    </shader>
    <shader>
      <file>/shader/fresnelWater/fresnelWater.xml</file>
    </shader>
  </shaders>
  <textures>
    <texture name='wooddoor.png'>
      <file>textures/wooddoor.png</file>
    </texture>
    <texture name='BUMPwooddoor_n.png'>
      <file>textures/wooddoor_n.png</file>
      <class>normalmap</class>
    </texture>
    <texture name='woodbeam.png'>
      <file>textures/woodbeam.png</file>
    </texture>
    <texture name='BUMPwoodbeam_n.png'>
      <file>textures/woodbeam_n.png</file>
      <class>normalmap</class>
    </texture>
    <texture name='wall.png'>
      <file>textures/wall.png</file>
    </texture>
    <texture name='BUMPwall_n.png'>
      <file>textures/wall_n.png</file>
      <class>normalmap</class>
    </texture>
    <texture name='woodfloor.png'>
      <file>textures/woodfloor.png</file>
    </texture>
    <texture name='BUMPwoodfloor_n.png'>
      <file>textures/woodfloor_n.png</file>
      <class>normalmap</class>
    </texture>
    <texture name='StoneTile.png'>
      <file>textures/StoneTile.png</file>
    </texture>
    <texture name='BUMPStoneTile_n.png'>
      <file>textures/StoneTile_n.png</file>
      <class>normalmap</class>
    </texture>
    <texture name='pooltile.png.002'>
      <file>textures/pooltile.png.002</file>
    </texture>
    <texture name='blackrock.png.001'>
      <file>textures/blackrock.png.001</file>
    </texture>
    <texture name='BUMPblackrock_n.png.001'>
      <file>textures/blackrock_n.png.001</file>
      <class>normalmap</class>
    </texture>
    <texture name='water_n.mng'>
      <file>textures/water_n.mng</file>
    </texture>
    <texture name='reflection'>
      <type>crystalspace.texture.loader.cubemap</type>
      <params>
	<north>textures/ref/cube_pz.png</north>
	<south>textures/ref/cube_nz.png</south>
	<east>textures/ref/cube_px.png</east>
	<west>textures/ref/cube_nx.png</west>
	<top>textures/ref/cube_py.png</top>
	<bottom>textures/ref/cube_ny.png</bottom>
      </params>
    </texture>    
  </textures>
  <materials>
    <material name='WoodDoorwooddoor.png'>
      <texture>wooddoor.png</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPwooddoor_n.png</shadervar>
    </material>
    <material name='WoodBeamwoodbeam.png'>
      <texture>woodbeam.png</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPwoodbeam_n.png</shadervar>
    </material>
    <material name='Wallwall.png'>
      <texture>wall.png</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPwall_n.png</shadervar>
    </material>
    <material name='WoodFloorwoodfloor.png'>
      <texture>woodfloor.png</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPwoodfloor_n.png</shadervar>
    </material>
    <material name='Waterno'>
      <shader type='standard'>fresnelWater</shader>
      <shadervar type='texture' name='tex normal'>water_n.mng</shadervar>
      <shadervar type='texture' name='tex reflection'>reflection</shadervar>
    </material>
    <material name='StoneTileStoneTile.png'>
      <texture>StoneTile.png</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPStoneTile_n.png</shadervar>
    </material>
    <material name='PoolBottompooltile.png.002'>
      <texture>pooltile.png.002</texture>
      <shader type='standard'>std_lighting</shader>
    </material>
    <material name='PoolSide.001blackrock.png.001'>
      <texture>blackrock.png.001</texture>
      <shader type='standard'>std_lighting</shader>
      <shadervar type='texture' name='tex normal'>BUMPblackrock_n.png.001</shadervar>
    </material>
  </materials>
  <sounds/>

  <addon>
    <plugin>crystalspace.renderloop.loop.loader</plugin>
    <paramsfile>/shader/std_rloop_standard.xml</paramsfile>
  </addon>

  <settings>
    <renderloop>std_rloop_standard</renderloop>
    <clearscreen>yes</clearscreen>
    <clearzbuf>yes</clearzbuf>
  </settings>
  <library>factories/thingWoodDoor</library>
  <library>factories/thingCube.001</library>
  <library>factories/thingCube.006</library>
  <library>factories/thingCube.005</library>
  <library>factories/genPlane.001</library>
  <library>factories/thingPlane</library>
  <library>factories/thingCube</library>
  <library>factories/thingCube.003</library>
  <triggers/>
  <sector name='Scene'>
    <cullerp plugin='crystalspace.culling.frustvis'/>
    <meshobj name='WoodDoor'>
      <plugin>thing</plugin>
      <params>
        <factory>thingWoodDoor</factory>
      </params>
      <zuse/>
      <move>
        <v y='1' x='-3.8' z='-1.96703'/>
      </move>
    </meshobj>
    <meshobj name='Cube.001'>
      <plugin>thing</plugin>
      <params>
        <factory>thingCube.001</factory>
      </params>
      <zuse/>
      <move>
        <v y='0.25' x='-0.75' z='0.6'/>
      </move>
    </meshobj>
    <meshobj name='Cube.006'>
      <plugin>thing</plugin>
      <params>
        <factory>thingCube.006</factory>
      </params>
      <zuse/>
      <move>
        <v y='0.25' x='-0.75' z='0.6'/>
      </move>
    </meshobj>
    <meshobj name='Cube.005'>
      <plugin>thing</plugin>
      <params>
        <factory>thingCube.005</factory>
      </params>
      <zuse/>
      <move>
        <v y='0.25' x='-0.75' z='0.6'/>
      </move>
    </meshobj>
    <meshobj name='Plane.001'>
      <plugin>genmesh</plugin>
      <priority>alpha</priority>
      <params>
        <factory>genPlane.001</factory>
        <material>Waterno</material>
        <mixmode>
          <add/>
        </mixmode>
      </params>
      <polymesh> <colldet /></polymesh>
      <zuse/>
      <move>
        <v y='0.338774' x='0.0703707' z='1.71118'/>
      </move>
    </meshobj>
    <light name='Lamp.001'>
      <center y='2.30974' x='0.00352988' z='0.23148'/>
      <color blue='1.0' green='1.0' red='1.0'/>
      <radius brightness='1.0'>20.0</radius>
    </light>
    <meshobj name='Plane'>
      <plugin>thing</plugin>
      <params>
        <factory>thingPlane</factory>
      </params>
      <zuse/>
      <move>
        <v y='0' x='0' z='0'/>
      </move>
      <key name='color' value='0,0,0'/>
    </meshobj>
    <meshobj name='Cube'>
      <plugin>thing</plugin>
      <params>
        <factory>thingCube</factory>
      </params>
      <zuse/>
      <move>
        <v y='0' x='0' z='0'/>
        <matrix>
          <rotx>-1.5708</rotx>
        </matrix>
      </move>
    </meshobj>
    <light name='Lamp'>
      <center y='1.97394' x='-3.76985' z='-3.15414'/>
      <color blue='1.0' green='1.0' red='1.0'/>
      <radius brightness='1.0'>29.9999828339</radius>
    </light>
    <meshobj name='Cube.003'>
      <plugin>thing</plugin>
      <params>
        <factory>thingCube.003</factory>
      </params>
      <zuse/>
      <move>
        <v y='0' x='0' z='0'/>
        <matrix>
          <rotx>-1.5708</rotx>
        </matrix>
      </move>
    </meshobj>
  </sector>
  <sequences/>
  <start name='Camera'>
    <sector>Scene</sector>
    <position y='1.74008' x='2.24006' z='-2.89123'/>
    <up y='0.999569' x='-0.0272769' z='0.0108525'/>
    <forward y='-0.0272908' x='-0.727608' z='0.68545'/>
  </start>
</world>
