-->
Home » , , » Custom Stellarium Landscapes.
Monday
11 August 2014

Custom Stellarium Landscapes.

After my first successful try today, 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. 

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.
stellarium2
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: 

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.
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

0 commenti:

Post a Comment

Random Posts

  • HTOP is an interactive system-monitor process-viewer written for Linux.
    16.08.2012 - 0 Comments
    HTOP is an interactive system-monitor process-viewer written for Linux. It is designed to replace the Unix program top.  It shows a frequently updated list of the processes running on a computer, normally ordered by the amount of CPU usage.…
  • BareFTP is a file transfer client supporting the FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP).
    19.08.2011 - 0 Comments
    BareFTP is a file transfer client supporting the FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP). It is written in C#, targeting the Mono framework and the GNOME desktop environment. bareFTP is free and open source software…
  • ADMesh is a program for processing triangulated solid meshes.
    28.02.2014 - 0 Comments
    ADMesh is a program for processing triangulated solid meshes. Currently, ADMesh only reads the STL file format that is used for rapid prototyping applications, although it can write STL, VRML, OFF, and DXF files. ADMesh is a free software, it is…
  • BlankOn is an Ubuntu-based distribution developed by the Indonesian Linux Mover Foundation and BlankOn developer team.
    15.08.2010 - 0 Comments
    BlankOn is an Ubuntu-based distribution developed by the Indonesian Linux Mover Foundation and BlankOn developer team.It is an Indonesian distribution that includes a variety of software that is widely used by consumers in general, such as office…
  • Cantor or a successfull integration in the KDE Community.
    17.03.2014 - 0 Comments
    Cantor is a free software mathematics application for scientific statistics and analysis.It is part of the KDE Software Compilation 4, and was introduced with the 4.4 release as part of the KDE Education Project's kdeedu package. Features. Cantor…
  • How can I install software or packages without Internet (offline).
    23.03.2014 - 0 Comments
    Linux Operating System uses a system of shared libraries in which different software share same libraries for their ‘under the hood’ work. This is a really useful and powerful thing and is in accordance with the Unix theory, ”Do one thing and do it…
  • YES Linux Basic Edition 3.0.0 available now
    22.03.2009 - 0 Comments
    YES Linux a distribution that is focused on ease of use, user experience, and the internet. In 2 screens a secure server is installed and administered from a browser. A user should not have to use the console, but can if they wish.Primary Download…
  • Kdenlive (KDE Non-Linear Video Editor) Manual: Introduction, Features & Installation.
    03.06.2019 - 2 Comments
    Kdenlive is an acronym for KDE Non-Linear Video Editor. Kdenlive is a free and open-source video editing software based on the MLT Framework, KDE and Qt. The project was started by Jason Wood in 2002, and is now maintained by a small team of…
  • Debian ,The Universal Operating System for your computer.
    21.08.2008 - 0 Comments
    Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian uses the Linux kernel (the core of an operating system), but most of the basic OS tools…
  • MP3 Tools: Mp32ogg, Mp3blaster, Mp3burn, MP3c, Mp3cd and MP3-Check.
    11.03.2011 - 0 Comments
    MPEG-1 or MPEG-2 Audio Layer III, more commonly referred to as MP3, is a patented digital audio encoding format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard of…

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->