[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

Akarsh Simha akarshsimha at gmail.com
Sun Jul 20 19:50:43 CEST 2008


SVN commit 835497 by asimha:

Reducing the rate of change of maglim with log( zoomFactor ) from the
calculated value.

CCMAIL: kstars-devel at kde.org



 M  +6 -1      starcomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #835496:835497
@@ -228,8 +228,13 @@
      possible value of maglim to 3.5
     */
      
-    float maglim = 4.444 * ( lgz - lgmin ) + 2.222 * log10( Options::starDensity() ) + 3.5;
+    //    float maglim = 4.444 * ( lgz - lgmin ) + 2.222 * log10( Options::starDensity() ) + 3.5;
 
+    // Reducing the slope w.r.t zoom factor to avoid the extremely fast increase in star density with zoom
+    // that 4.444 gives us (although that is what the derivation gives us)
+
+    float maglim = 3.7 * ( lgz - lgmin ) + 2.222 * log10( Options::starDensity() ) + 3.5;
+
     m_zoomMagLimit = maglim;
 
     double maxSize = 10.0;


More information about the Kstars-devel mailing list