Thursday, February 28 2008, 00:35
First "Planets"-Release: Planets 0.1.47
By fake - Permalink
Note: there is a newer version available here.
From the "I'd rather be toying around with the iPhone SDK" - department:
Finally it is mature enough so i can put a first version "out there": Planets, a multi-platform gravitational movement simulator written in C++ using Trolltech's wonderful Qt 4 is here!
There are binary builds for windows 32bit (almost untested) and for mac os x 10.4 or later (universal) available:
- Windows Binary: planets-0.1.47-bin-win32.zip (3.2 MB)
- Mac OS X Binary: planets-0.1.47-bin-mac.zip (7.4 MB)
A binary X11-Version (for Linux, *BSD, ... ) is not available (packagers? anyone? there are only 1000 combinations to choose from ;-), so please compile yourself (it's easy, see included README) using the source:
- Source Code, .tar.gz: planets-0.1.47-src.tar.gz (0.8 MB)
- Source Code, .zip: planets-0.1.47-src.zip (0.8 MB)
Also available are a few example .planet files:
- Sample Files, .zip: planets-samples.zip (0.1 MB)
Obviously, there is not much practical use in this program, it's merely part of a technical lecture i'll be giving sometime next month. Stay tuned for documentation and have fun gravitating ;-)
I'd be happy if you report bugs either via mail or as a comment on the bottom of this article. Also i'd be interested in the .planet files you create - please send them to me via mail, i'll publish them here if you like. Also, patches are gratefully accepted via mail, once i held the technical lecture (and hopefully got a good grade *g*)
-----
7 comments
Habs auf ubuntu getestet - laeuft
--- und am ende stuerzen alle planeten in die sonne oder verlassen das sonnensystem - cool :-)
Wenn man die Masse eines Planeten auf 9999999999 setzt, wird diese beim n‰chsten ÷ffnen des Info-Fensters als 0 angegeben.
Nachdem ich das Programm ca. 5 mal gestartet habe, brachte der Distance Button nicht mehr den gew¸nschten Effekt. Zuvor hatte ich Planeten mit negativer Masse eingegeben^^.
L‰uft unter XP SP2.
Was der Guru zur Masse schrieb gilt auch f¸r die Size.
Wenn ich reset dr¸cke, wird nicht das aktuelle beispiel resettet, sondern das ganze programm. Also ich hatte z.b. das beispiel mit den 8 planeten gew‰hlt, lasse es laufen, dr¸cke reset, seh ich wieder nur 2 planeten (die nat¸rlich auch weiter laufen).
und man kann tolle bilder damit malen ;)
Hmm ... je l‰nger es l‰uft, um so mehr cpu auslastung hats. seit dem letzten post bis jetzt hab ichs mal mit 2 planeten laufen lassen. eines der planeten ist zwischenzeitlich abgehauen... irgendwo ganz weit weg... cpu auslastung bei ca 25%
l‰uft auch auf Mac OS X 10.4.11 mit Intel
Also ich habs grad unter Vista getestet. L‰uft an sich problemlos. Allerdings funktioniert unter Vista die "Distance"-Funktion nicht. Und wenn man mit der Maus beispielsweise die Sonne bewegt (allerdings erst ab einer gewissen Geschwindigkeit) dann "pausiert" die ganze Simulation quasi, heiflt das Bild bleibt stehen.