Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/BumpMap.oxw @ 12285

Last change on this file since 12285 was 12197, checked in by merholzl, 6 years ago

Shader merge

File size: 3.3 KB
Line 
1<!-- Author: Philip Wiese <wiesep@student.ethz.ch> -->
2<LevelInfo
3 name = "BumpMap"
4 description = "A demonstration of bump maps (created HS18)"
5 tags = "test, showcase"
6 screenshot = "bumpMap.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12  include("templates/lodInformation.oxt")
13?>
14
15<?lua
16  include("templates/spaceshipEscort.oxt")
17?>
18
19<Level>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23  <?lua include("includes/notifications.oxi") ?>
24
25  <Scene
26    ambientlight = "0.5, 0.5, 0.5"
27    skybox       = "Orxonox/Starbox"
28  >
29
30
31  <!--
32    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
33  -->
34
35    <Light type=point position="100,30,300" lookat="0,0,0" diffuse="0.8, 0.8, 0.8, 1.0" specular="0.5, 0.9, 0.9, 1.0"/>
36    <Model position="100,30,200" mesh="rocket.mesh" scale="3" lookat="0,0,0"/>
37
38    <Light type=point position="-20,-30,-200" lookat="0,0,0" diffuse="0.8, 0.8, 0.8, 1.0" specular="0.5, 0.5, 0.5, 1.0"/>
39    <Model position="-20,-30,-200" mesh="rocket.mesh" scale="3" lookat="0,0,0"/>
40   
41    <Light type=point position="20,200,20" lookat="0,0,0" diffuse="0.3, 0.3, 0.3, 1.0" specular="0.5, 0.5, 0.5, 1.0"/>
42    <Model position="20,200,20" mesh="rocket.mesh" scale="3" lookat="0,0,0"/>
43<!--
44    <Light type=point position="100,200,0" lookat="0,0,0" diffuse="0.8, 0.7, 0.7, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
45    <Model position="100,200,0" mesh="Coordinates.mesh" scale="3" lookat="0,0,0"/>
46
47    <Light type=point position="20,-200,0" lookat="0,0,0" diffuse="0.8, 0.7, 0.7, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
48    <Model position="20,-200,0" mesh="Coordinates.mesh" scale="3" lookat="0,0,0"/>
49
50    <Light type=point position="200,0,0" lookat="0,0,0" diffuse="0.8, 0.7, 0.7, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
51    <Model position="200,0,0" mesh="Coordinates.mesh" scale="3" lookat="0,0,0"/>
52
53    <Light type=point position="-200,0,0" lookat="0,0,0" diffuse="0.8, 0.7, 0.7, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
54    <Model position="-200,0,0" mesh="Coordinates.mesh" scale="3" lookat="0,0,0"/>
55-->
56    <SpawnPoint team=0 position="-80,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
57
58    <!--<Model position="0, -50,-160" yaw="90" pitch="-90" roll="0" scale="5" mesh="Cube_Lava.mesh" />
59    <Model position="0, 0,-160" yaw="90" pitch="-90" roll="0" scale="5" mesh="Cube_Lava_Normal.mesh" />
60    <Model position="0, 12,0" yaw="90" pitch="-90" roll="0" scale="10" mesh="Cube_Lava_V2.mesh" />
61    <Model position="0, -12,0" yaw="90" pitch="-90" roll="0" scale="10" mesh="Cube_Lava_V2_Normal.mesh" />
62    -->
63
64    <MovableEntity position="0,0,40" rotationrate="30" rotationaxis="1,0,1">
65      <attached>
66          <Model position="0, 0,0" roll="45" scale="10" mesh="Cube_Lava.mesh" />
67      </attached>
68    </MovableEntity>
69
70    <MovableEntity position="0,0,0" rotationrate="30" rotationaxis="1,0,1">
71      <attached>
72          <Model position="0, 0,0" roll="45" scale="10" mesh="Cube_Lava_Normal.mesh" />
73      </attached>
74    </MovableEntity>
75    <MovableEntity position="0,0,-40" rotationrate="30" rotationaxis="1,0,1">
76      <attached>
77          <Model position="0, 0,0" roll="45" scale="10" mesh="Cube_Lava_Normal_Blank.mesh" />
78      </attached>
79    </MovableEntity>
80
81  </Scene>
82</Level>
Note: See TracBrowser for help on using the repository browser.