Changeset 7054
- Timestamp:
- May 31, 2010, 4:03:06 PM (15 years ago)
- Location:
- code/branches/presentation3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/templates/lodinformation.oxt
r7036 r7054 8 8 <MeshLodInformation mesh=HXY.mesh enabled=true numLevels=8 /> 9 9 <MeshLodInformation mesh=Transporter.mesh enabled=true numLevels=8 /> 10 <MeshLodInformation mesh=CuboidConnBody.mesh enabled=false/> 11 <MeshLodInformation mesh=CuboidBody.mesh enabled=false/> 12 <MeshLodInformation mesh=DoubleCuboidBody.mesh enabled=false/> 13 <MeshLodInformation mesh=SemiCircleCockpit.mesh enabled=false/> 14 <MeshLodInformation mesh=SolarPanel.mesh enabled=false/> 15 <MeshLodInformation mesh=CuboidLandingZone.mesh enabled=false/> 10 16 </lodinformation> 11 17 </Level> -
code/branches/presentation3/src/orxonox/graphics/Model.cc
r7047 r7054 143 143 { 144 144 // float factor = scaleFactor*5/lodLevel_; 145 float factor = volume*5/lodLevel_;145 float factor = pow(volume,2.0/3.0)*15/lodLevel_; 146 146 147 147 COUT(4) << "LodLevel set with factor: " << factor << endl;
Note: See TracChangeset
for help on using the changeset viewer.