Version: (using KDE Devel) Installed from: Compiled sources OS: Linux Xplanet (http://xplanet.sf.net) is really nice application for generating views of planets in Solar system. From command line it allows for creating various projections of all planets (rectangular, orthographic, azimuthal, hemisphere, etc.). It would be great thing to make possible to call xplanet from context menu on some object. During start kstars could check if xplanet is available, check version (pre 1.0 and post 1.0 has different syntax for command line), if available add item in context menus and maybe some dialogs option to call xplanet. To make things simplier only post 1.0 should be supported (it also gives more possibilities). Call would be very simple: xplanet -earthside -body <planet_name> -geometry 480x480 -date <current_kstars_date> Stars in the background are by default randomly generated but can also be generated from data - here provided by KStars - even with labels. Images are distributed separately but are easily available from NASA archives (and no restrictions on use!) Post 1.0 version allows to use custom configure file with many, many options like use of marker files which can show places of interest but this would be more complicated. Even simple support for xplanet would be really good addition to KStars.
Great idea! Adding it to the todo list.
With KDE4 it could be better to adjust Marble for that use.
In KDE4 Marble should be used instead of xplanet.
Created attachment 29442 [details] Add Xplanet support Hello, This patch adds Xplanet support. When we right click on a solar system object, the popup menu proposes to run Xplanet to generate a view of the object. I have add a page in configuration panel where we can adjust some options of xplanet. Here is what the patch makes : - add a submenu in popup menu for solar system objects to run xplanet (kspopupmenu.cpp). - add two slots in SkyMap (kstars.h, kstars.cpp) - add a page in configuration panel (kstars.h, kstarsactions.cpp, opsxplanet.h, opsxplanet.cpp, opsxplanet.ui) - modify kstars.kcfg to handle xplanet options - modify CMakeLists.txt This patch must be applied in the kdeedu directory. About marble, I have decided to not use it for the moment because it need some improvments before doing the same work as xplanet.
Created attachment 29443 [details] Icon of the new page in configure panel
SVN commit 911593 by jsonrier: Adding support for XPlanet program. Now, Kstars can use XPlanet to display a planet. CCBUG: 95037 CCMAIL: kstars-devel@kde.org M +4 -0 CMakeLists.txt M +3 -0 config-kstars.h.cmake M +13 -3 kstars/CMakeLists.txt M +12 -0 kstars/kspopupmenu.cpp M +7 -0 kstars/kstars.h M +203 -0 kstars/kstars.kcfg M +9 -0 kstars/kstarsactions.cpp M +132 -0 kstars/skymap.cpp M +18 -0 kstars/skymap.h WebSVN link: http://websvn.kde.org/?view=rev&revision=911593
Jérôme has added XPlanet support for the time being till Marble gets the required capabilities. Closing this wishlist. Thanks Jérôme!
SVN commit 911595 by jsonrier: Adding support for XPlanet program (add forgotten files). CCBUG: 95037 CCMAIL: kstars-devel@kde.org AM icons/hi64-action-kstars_xplanet.png A opsxplanet.cpp [License: GPL (v2+)] A opsxplanet.h [License: GPL (v2+)] A opsxplanet.ui WebSVN link: http://websvn.kde.org/?view=rev&revision=911595
Thanks Jerome.