- None of my scripts work with the new version.
- Why is there a configuration file now? I want to specify everything on the command line.
- How do you show multiple bodies? I want to see the moon when I draw the earth.
- I used the -starmap option but I don't see any stars.
- I don't see Saturn's rings.
- How can I get xplanet to work with KDE?
- How can I get xplanet to work with Gnome2?
- Where can I get higher resolution cloud maps?
- Why are the top and bottom of the cloud maps a reflection of the area below/above them?
- How can I get Xplanet to draw an image once and exit?
- The -animate option doesn't work any more. Will it be back in a future version?
The 1.0 version of Xplanet is a complete rewrite of the pre-1.0 version. Many of the old options work differently, or not at all. I really should have named the 1.0 version "Xplanet2" to make this clear, since a lot of people were inconvenienced by upgrading. I apologize for this. The old version is still available here, although I will only make bug fixes on this version from now on.
Xplanet now draws multiple bodies. By using a configuration file, you can specify things like marker or arc files for each planet. Doing that on the command line would be a pain.
Xplanet draws multiple bodies by default. Multiple bodies are not drawn if the -projection option is used. If you only see one body in the image, then it means there aren't any other bodies (that xplanet knows about) in the field of view.
The moon orbits at 60 earth radii. You won't often see it in the field of view if the earth is drawn at any appreciable size.
You can modify the magnify parameter in the configuration file to make the earth and moon bigger so that they do fall in the same field of view more often. It won't be accurate, but it might be what you want. See this image in the gallery for an example.
You probably have a small field of view, and there just aren't any stars that fall inside your image. By default, xplanet places the observer at 1000 planetary radii.
xplanet -num_times 1 -label -radius 10 -range 1000
Notice the "fov" line in the label. Decrease the range, and the field of view will get larger and you will start to see stars and other planets in the image. You won't see much until the fov gets to be a few tens of degrees.
Another thing you can do is set the "magnify" option inside the configuration file. See the "multiple bodies" question above - it's really the same question as this one. You might want to use a magnify value of 100 or more to see a lot of stars.
Saturn's rings are in the plane of its equator. If the observer is at latitude 0, you won't see anything.
xplanet -body saturn -latitude 25
The rings are not drawn if the -projection option is used. Rings for the other planets are not implemented.
- Right click on the backdrop, and select "Configure desktop"
- Select Background
- Go to the Wallpaper tab and select no wallpaper
- Go to the Background tab and select Background Program from the Mode tab
- Click Setup
- There should already be an Xplanet entry. Select this and click Modify
- The Command and Preview Command should be
xplanet --num_times 1 --geometry %xx%y --latitude 20 --output %f.png && mv %f.png %f
#!/bin/bash #xplanet-gnome.sh shell script v0.2 #shows Earth on your Gnome desktop with current lighting conditions,i.e. day and night DELAY=30m PREFIX=/multimedia/wallpapers/ OUTPUT=xplanet.png APPEND=2 GEOMETRY=1024x768 LONGITUDE=15 LATITUDE=30 #default is no projection,i.e. render a globe #rectangular is the flat world map. also try ancient, azimuthal, mercator,.. #PROJECTION=rectangular #rename background image so Gnome realises image has changed - thx to dmbasso if [ -e "$PREFIX$OUTPUT" ]; then rm "$PREFIX$OUTPUT" OUTPUT="$APPEND$OUTPUT" else rm "$PREFIX$APPEND$OUTPUT" fi if [ -z $PROJECTION ]; then xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY -longitude $LONGITUDE -latitude $LATITUDE else xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY -longitude $LONGITUDE -latitude $LATITUDE -projection $PROJECTION fi #update Gnome backgound gconftool -t str -s /desktop/gnome/background/picture_filename "$PREFIX$OUTPUT" sleep $DELAY exec $0Make sure this script is executed at Gnome startup. There are several ways to do this:
- Using Gnome session manager. Select Applications (the Footer menu) -> Desktop Preferences -> Advanced -> Sessions and hit the Startup Programs tab. Click Add and browse to where you saved the above script and select it. Click OK. Hit the Current Sessions tab and click Apply. That's it. Remove this entry if you don't want XPlanet backgrounds any more.
- Call the script in an X11 startup script like /home/nazgul/xplanet-gnome.sh & . Do not omit the & .
- Invoke the script in a terminal :)
I don't know of any other real time global cloud map sources. The ones I create are based on infrared images from geostationary satellites. The resolution of my maps are constrained by the resolution of the original images, so I can't make bigger ones. If you want higher resolution maps, try launching your own network of weather satellites!
The cloud maps are generated from geostationary satellite images. These satellites cannot see to the poles, so I had to do something to fill in the unobserved area.
The default behavior is to run indefinitely. Use -num_times 1 to draw once and exit.
No. Getting this to work on multiple platforms was difficult. It generated a lot of complaints and I didn't like it much anyway. If you want this capability, Celestia is a much better OpenGL planet viewer than Xplanet ever was.