Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/presentationLODdif.oxw @ 7046

Last change on this file since 7046 was 7036, checked in by scheusso, 14 years ago

some changes regarding lod:

  • added lodtemplate in different levels
  • trying to avoid sigabrt's because of models with too much lod levels
  • Property svn:eol-style set to native
File size: 976 bytes
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/spaceship_assff.oxt")
8  include("templates/spaceship_pirate.oxt")
9  include("templates/lodinformation.oxt")
10?>
11
12<Level
13 name         = "Sample"
14 description  = "Just a few tests"
15>
16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
19
20  <lodinformation>
21    <MeshLodInformation mesh=ast1.mesh lodQuality=4 />
22  </lodinformation>
23
24  <Scene
25    ambientlight = "0.8, 0.8, 0.8"
26    skybox       = "Orxonox/Starbox"
27  >
28
29    <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" />
30
31    <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
32   
33    <Model position="0,10,0" scale=3 mesh="ast3.mesh"/>
34    <Model position="0,-10,0" scale=3 mesh="ast3.mesh" lodLevel="1"/>
35
36  </Scene>
37
38  <templates>
39    <Template link=lodtemplate_default />
40  </templates>
41
42</Level>
Note: See TracBrowser for help on using the repository browser.