Custom Stellarium landscapes

The base for all our tutorials, be it how to polar align or master astro imaging

Moderators: hawk_eye1975, budgetastro, martin_h


TUTORIALS SECTION

This section is only for the posting of actual tutorials, either single post or multiple, to ask questions or comment on a tutorial, please use the TUTORIAL DISCUSSIONS section where you will find a topic titled for each topic posted here, it just helps stop the topics becoming convoluted and lets the tutorials flow properly. If you post a tutorial, please also post a topic into TUTORIAL DISCUSSIONS with the same title.

Thanks.

Custom Stellarium landscapes

Postby george7378 » Tue Dec 21, 2010 4:51 pm

After my first successful try, I thought I'd write a little tutorial for creating landscapes. Here are some (hopefully) simple steps:

1. Take your images. All I did was take my compact camera and my tripod out to my desired location, and take a set of horizon shots (all the way round) and then import them to Autostitch to make a simple panorama (see below). I filled the ground in by copying and pasting, as you can see (the original panorama was not straight, so it left some black areas underneath). The Panorama must be a PNG, and I recommend sizing it down to about 2048 pixels in width. The following panorama has already been processed for Stellarium (see step 3) which is why the sky is missing. Once you have your panorama, move on to step 2.

Image

2. Extend the canvas. This involves increasing the height of the image above and below the horizon, as shown in the illustration below. This is important because otherwise the horizon will be too 'thin' and it means that you have to zoom out too much for the scenery to be properly sized. You can see it as putting more floor between you and the horizon scenery, meaning that it appears further away from you. The actual horizon on Stellarium runs through the centre of the image, so you need to keep your image horizon in the middle of the picture when you are adding the extensions:

Image

3. Delete the sky from the image. Stellarium looks for 'blank' locations in the image when it decides where the scenery ends and the sky begins, so you need to erase the actual sky from the photo. I used paint.net to select the sky in my panorama, and then pressed 'delete' to get rid of it, exposing the checkered canvas behind. You cannot just paint over it in MS Paint, you actually need to remove it from the canvas. To add extra effect, you can delete the pixels in subtle areas (between tree branches, through windows, etc...) to produce a realistic horizon.

4. Create your landscape folder. You need to add a new folder to the Program Files --- Stellarium --- landscapes directory (its name does not matter). Then, create a next file called 'landscape.ini' (you can copy and paste this from another landscape folder and erase its contents) and copy your panorama to the same folder.

5. Write your landscape file. This can be done by copying and editing the following text into your 'landscape.ini' file:

[landscape]
name = Enter your landscape name here
author = Enter your name here
description = Enter a description here
type = spherical
maptex = yourimagename.png
angle_rotatez = Enter angle

[location]
planet = Enter planet
latitude = +XXdXX'XX"
longitude = -XXdXX'XX"W
altitude = X

name: This is the name of your landscape as it will appear in the program.

author: Your name

description: A brief description of the landscape.

type: The style of image. Leave as spherical.

maptex: The filename of your panorama (in the same folder as the .ini file).

angle_rotatez: Experiment with this to get your compass points in the right location. It is a three figure bearing (i.e. - 010, 254, etc...)

planet: The name of the planet your landscape is on.

latitude/longitude: The location of your landscape on your planet. Does not need to be accurate - it is for reference purposes only. It will not affect what you see in the sky.

altitude: The altitude (M) of your spot. Once again, purely for reference.


Once you have made your panorama, adjusted the canvas size, created your folder, writted the landscape.ini file and put it with your panorama in your folder, you are ready to go.

End result:

Image

Hi, you are viewing as a guest, You can only see this first post in this topic. if you sign up you get access to other goodies you can't even see as a guest, including video tutorials on imaging and processing, scope modifications and even member discounts on gear!

So, give us a try, what have you got to lose! Oh, and if you stay, when you reach 50 posts you get access to MORE goodies! What are you waiting for!

george7378
Protostar
 
Posts: 70
Joined: Mon Oct 18, 2010 4:47 pm
Location: Lincolnchire, UK

Re: Custom Stellarium landscapes

Postby yeti monster » Wed Dec 22, 2010 11:59 pm

User avatar
yeti monster
Black Dwarf
 
Posts: 1513
Joined: Tue Sep 21, 2010 2:36 am
Location: E. Lancs & Bay of Bengal

Re: Custom Stellarium landscapes

Postby Mike Shuter » Mon Aug 15, 2011 6:47 pm

Mike Shuter
Nebula
 
Posts: 42
Joined: Sun Jul 24, 2011 10:18 am
Location: Isle of Skye

Re: Custom Stellarium landscapes

Postby Mike Shuter » Thu Aug 18, 2011 11:50 am

Mike Shuter
Nebula
 
Posts: 42
Joined: Sun Jul 24, 2011 10:18 am
Location: Isle of Skye


Return to TUTORIALS

Who is online

Users browsing this forum: No registered users and 2 guests