beltoforion / stellarium-to-video

Making videos of the night sky with Stellarium
http://beltoforion.de/en/stellarium_video
BSD 2-Clause "Simplified" License
26 stars 10 forks source link

stargaze in full sky (without ground or landscape) #12

Closed sugizo closed 1 year ago

sugizo commented 1 year ago

objective stargaze in full sky (without ground or landscape)

add in kalstar.py LandscapeMgr.setFlagLandscape(false);

result work in earth core.setObserverLocation(long, lat, 425, 1, "Freiberg", "Earth");

not work in other planets (no error occurs but the result is not expected because still can see the ground) core.setObserverLocation(long, lat, 425, 1, "", "Mars");

already try to debug with set gui visible, core.setGuiVisible(true); so that we can click to turn the ground on / off result work while stargaze from Mars in full sky

question is there something must be set/configure when stargaze outside the earth without see the ground ?

best regards

beltoforion commented 1 year ago

You really need to look into the Stellarium script documentation: https://stellarium.org/doc/0.20/scripting.html

You are probably looking for this command: LandscapeMgr.setCurrentLandscapeName("Mars",0);