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
RevLine 
[6724]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")
[7007]9  include("templates/lodinformation.oxt")
[6724]10?>
11
12<Level
13 name         = "Sample"
14 description  = "Just a few tests"
15>
[7036]16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
[7007]19
[6724]20  <lodinformation>
[7007]21    <MeshLodInformation mesh=ast1.mesh lodQuality=4 />
[6724]22  </lodinformation>
[7007]23
[6724]24  <Scene
25    ambientlight = "0.8, 0.8, 0.8"
26    skybox       = "Orxonox/Starbox"
27  >
[7007]28
[6724]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" />
[7007]30
[6724]31    <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
[7007]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
[6724]36  </Scene>
37
38  <templates>
[7007]39    <Template link=lodtemplate_default />
[6724]40  </templates>
[7007]41
[6724]42</Level>
Note: See TracBrowser for help on using the repository browser.