Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 4:03:06 PM (14 years ago)
Author:
kolibri7
Message:
  • slightly changed the algorithm for computing the distvalues for lod
  • added some standard lodinformation
Location:
code/branches/presentation3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/data/levels/templates/lodinformation.oxt

    r7036 r7054  
    88      <MeshLodInformation mesh=HXY.mesh enabled=true numLevels=8 />
    99      <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/>
    1016    </lodinformation>
    1117  </Level>
  • code/branches/presentation3/src/orxonox/graphics/Model.cc

    r7047 r7054  
    143143                        {
    144144    //                         float factor = scaleFactor*5/lodLevel_;
    145                             float factor = volume*5/lodLevel_;
     145                            float factor = pow(volume,2.0/3.0)*15/lodLevel_;
    146146                           
    147147                            COUT(4) << "LodLevel set with factor: " << factor << endl;
Note: See TracChangeset for help on using the changeset viewer.