Revision 553448

Go back to digest for 25th June 2006

Optimization in Educational

Jason Harris committed changes in /trunk/KDE/kdeedu/kstars/kstars:

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.

File Changes

Added 1 files
  • /trunk/KDE/kdeedu/kstars/kstars/data/milkyway.dat
Deleted 11 files
  • /trunk/KDE/kdeedu/kstars/kstars/data
  •   /mw01.dat
  •   /mw02.dat
  •   /mw03.dat
  •   /mw04.dat
  •   /mw05.dat
  •   /mw06.dat
  •   /mw07.dat
  •   /mw08.dat
  •   /mw09.dat
  •   /mw10.dat
  •   /mw11.dat
Modified 7 files
  • /trunk/KDE/kdeedu/kstars/kstars
  •   /skymap.cpp
  •   /skymap.h
  •   /skymapdraw.cpp
  •   /data/CMakeLists.txt
  •   /skycomponents/milkywaycomponent.cpp
  •   /skycomponents/milkywaycomponent.h
  •   /skycomponents/milkywaycomposite.cpp
19 files changed in total