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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.