Changeset 6909
- Timestamp:
- May 17, 2010, 3:21:51 PM (15 years ago)
- Location:
- code/branches/lod
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lod/data/levels/empty_level.oxw
r6560 r6909 2 2 include("stats.oxo") 3 3 include("hudtemplates3.oxo") 4 include("templates/lodinformation.oxt") 4 5 ?> 5 6 … … 13 14 description = "Just a few tests" 14 15 > 16 <templates> 17 <Template link=lodtemplate_default /> 18 </templates> 19 15 20 <Scene 16 21 ambientlight = "0.8, 0.8, 0.8" -
code/branches/lod/data/levels/gametype_asteroids.oxw
r6417 r6909 3 3 include("stats.oxo") 4 4 include("templates/spaceship_assff.oxt") 5 include("templates/lodinformation.oxt") 5 6 ?> 6 7 … … 10 11 gametype = Asteroids 11 12 > 13 <templates> 14 <Template link=lodtemplate_default /> 15 </templates> 16 12 17 <Scene 13 18 ambientlight = "0.5, 0.5, 0.5" -
code/branches/lod/data/levels/teambasematchlevel.oxw
r6417 r6909 5 5 include("templates/spaceship_assff.oxt") 6 6 include("templates/spaceship_pirate.oxt") 7 include("templates/lodinformation.oxt") 7 8 ?> 8 9 … … 12 13 gametype = TeamBaseMatch 13 14 > 15 <templates> 16 <Template link=lodtemplate_default /> 17 </templates> 18 14 19 <Scene 15 20 ambientlight = "0.5, 0.5, 0.5" -
code/branches/lod/data/levels/teamdeathmatch.oxw
r5781 r6909 5 5 include("templates/spaceship_H2.oxt") 6 6 include("templates/spaceship_pirate.oxt") 7 include("templates/lodinformation.oxt") 7 8 ?> 8 9 … … 12 13 gametype = TeamDeathmatch 13 14 > 15 <templates> 16 <Template link=lodtemplate_default /> 17 </templates> 18 14 19 <Scene 15 20 ambientlight = "0.7, 0.6, 0.6" -
code/branches/lod/data/levels/templates/lodinformation.oxt
r6881 r6909 2 2 <Level> 3 3 <lodinformation> 4 <MeshLodInformation mesh=Carrier.mesh lodQuality=2.4 /> 4 <MeshLodInformation mesh=Carrier.mesh lodQuality=1.8 /> 5 <MeshLodInformation mesh=assff.mesh lodQuality=3 /> 5 6 </lodinformation> 6 7 </Level> -
code/branches/lod/src/orxonox/Level.cc
r6877 r6909 49 49 RegisterObject(Level); 50 50 51 51 52 this->registerVariables(); 52 53 this->xmlfilename_ = this->getFilename(); -
code/branches/lod/src/orxonox/graphics/Model.cc
r6877 r6909 49 49 50 50 this->registerVariables(); 51 //LoD 52 this->lodLevel_=5; 51 53 } 52 54 -
code/branches/lod/src/orxonox/graphics/Model.h
r6843 r6909 67 67 68 68 //LoD 69 inline void setLodLevel( unsigned short lodLevel)69 inline void setLodLevel(float lodLevel) 70 70 { this->lodLevel_ = lodLevel; } 71 inline unsigned short getLodLevel() const71 inline float getLodLevel() const 72 72 { return this->lodLevel_; } 73 73 float Model::getBiggestScale(Vector3 scale3d); … … 78 78 79 79 //LoD 80 unsigned short lodLevel_;80 float lodLevel_; 81 81 }; 82 82 }
Note: See TracChangeset
for help on using the changeset viewer.