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

Jason Harris kstars at 30doradus.org
Wed Jun 21 04:57:23 CEST 2006


SVN commit 553448 by harris:

Adding new polygon clipping code for the Milky Way, by James Bowlin.  
This divides the MW into a much larger number of sub-polygons, which 
allows for more efficient clipping of offscreen sections.  The 
points defining the milky way are now stored in a single data file, 
milkyway.dat.  Also, the number of points along the perimeter has been 
reduced (I selected the "culled" version of the file).

If you want to visualize the MW polygons, uncomment lines 69 and 70 in 
skycomponents/milkywaycomponent.cpp.

You'll need to run cmake in the kdeedu directory before compiling this, 
as the data files have changed.

Thanks for the code, James.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      data/CMakeLists.txt  
 A             data/milkyway.dat  
 D             data/mw01.dat  
 D             data/mw02.dat  
 D             data/mw03.dat  
 D             data/mw04.dat  
 D             data/mw05.dat  
 D             data/mw06.dat  
 D             data/mw07.dat  
 D             data/mw08.dat  
 D             data/mw09.dat  
 D             data/mw10.dat  
 D             data/mw11.dat  
 M  +186 -69   skycomponents/milkywaycomponent.cpp  
 M  +14 -3     skycomponents/milkywaycomponent.h  
 M  +47 -6     skycomponents/milkywaycomposite.cpp  
 M  +9 -5      skymap.cpp  
 M  +5 -1      skymap.h  
 M  +6 -0      skymapdraw.cpp  




More information about the Kstars-devel mailing list