[Orxonox-commit 2332] r7047 - code/branches/presentation3/src/orxonox/graphics

kolibri7 at orxonox.net kolibri7 at orxonox.net
Mon May 31 14:30:17 CEST 2010


Author: kolibri7
Date: 2010-05-31 14:30:17 +0200 (Mon, 31 May 2010)
New Revision: 7047

Modified:
   code/branches/presentation3/src/orxonox/graphics/Model.cc
Log:
* modified the formula for computation of distances for lod

Modified: code/branches/presentation3/src/orxonox/graphics/Model.cc
===================================================================
--- code/branches/presentation3/src/orxonox/graphics/Model.cc	2010-05-31 12:20:12 UTC (rev 7046)
+++ code/branches/presentation3/src/orxonox/graphics/Model.cc	2010-05-31 12:30:17 UTC (rev 7047)
@@ -142,7 +142,7 @@
                         if( lodLevel_>0 )
                         {
     //                         float factor = scaleFactor*5/lodLevel_;
-                            float factor = volume/3/lodLevel_;
+                            float factor = volume*5/lodLevel_;
                             
                             COUT(4) << "LodLevel set with factor: " << factor << endl;
 




More information about the Orxonox-commit mailing list