Creating a Personalised Landscape for Stellarium

(Difference between revisions)
Jump to: navigation, search
(Converting a Spherical Panorama into a Multi Panel)
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ActualVersion|0.10.2}}
+
{{ActualVersion|0.12.3}}
Although this procedure is based on the Microsoft Windows System the basics will apply to any platform that can run the programs mentioned or similar programs on the preferred system.
+
==Making a Multi panel Panorama==
 +
http://www.stellarium.org/wikiimg/UserManual/landscape_beaumonthills.jpg
  
 +
This is the only way to get a high resolution panorama and although this procedure is based on the Microsoft Windows System the basics will apply to any platform that can run the programs mentioned or similar programs on the preferred system. If you want a high resolution this is the only method to use.
 
The first thing needed for a personalised landscape to superimpose on the horizon display is a 360° panorama with a transparent background. To make this you will need the following:
 
The first thing needed for a personalised landscape to superimpose on the horizon display is a 360° panorama with a transparent background. To make this you will need the following:
 
* A digital camera on a tripod or stable platform
 
* A digital camera on a tripod or stable platform
Line 16: Line 18:
  
 
==Processing into a Panorama==
 
==Processing into a Panorama==
This is the most complicated part of the process of generating the panorama. I used two separate programs to do this. Firstly I used Microsoft Paint which is part of the Windows operating system, to cleanup and resize the pictures to 800x600 size and so make them easier to handle in the panorama program.
 
  
If you have prominent foreground items like posts wires etc. that occur in adjacent pictures the panorama program will have difficulty in discerning them because of the 3D effect and may give double images. I overcame this by painting out the offending item by cut and paste between the two pictures. Quite easy with a little practice using the zoom in facility and I found the MSpaint program the easiest to do this in.
+
This is the most complicated part of the process of generating the panorama. I used two separate programs to do this. Firstly I used The Gimp to re size the panels to 1024x768 and so make them easier to handle in the panorama program.  
  
When I had my 14 processed pictures I inserted them into the panorama program. I used a program called the Panorama Factory. Version 1.6 is a freebee that works well and can be downloaded from the internet - a Google search will find it. I used version 3.4 that is better and cost about $40 off the Internet. This program has many options and can be configured to suit most cameras and can make a seamless 360° panorama in barrel form that will take a highly trained eye to find where the joins occur.
+
When I had my 14 processed pictures I inserted them into the panorama program. I first used a program called the Panorama Factory. Version 1.6 is a freebee that works well and can be downloaded from the internet - a Google search will find it. I later used version 3.4 that is better and cost about $40 off the Internet. This program has many options and can be configured to suit most cameras and can make a seamless 360° panorama in barrel form that will take a highly trained eye to find where the joins occur.
  
The resulting panorama was then loaded into Paint and trimmed to a suitable size. Mine ended up 4606 x 461 pixels. I stretched the 4606 to 4610 pixels, almost no distortion, that would allow cutting into 10 461x461 pictures at a later date. If the height of the panorama had been greater I could have made fewer pictures and so shown more of the foreground.  
+
The resulting panorama was then loaded into The Gimp and trimmed to a suitable size. Mine ended up 14024 x 1601 pixels. I trimmed the vertical size to 1024 by cutting back then stretched the 14024 to 14336 pixels, with almost no distortion, that would allow cutting into 14 1024 x1024 pictures at a later date. If the height of the panorama had been greater I could have made fewer pictures and so shown more of the foreground. See figure [fig:panorama360].
  
http://www.stellarium.org/wikiimg/UserManual/landscape_beaumonthills.jpg
+
If you have prominent foreground items like posts wires etc. that occur in adjacent pictures the panorama program will have difficulty in discerning them because of the 3D effect and may give double images. I overcame this by painting out the offending item by cut and paste between the two pictures. Quite easy with a little practice using the zoom in facility and I found the MSpaint program the easiest to do this in.
 +
 
 +
http://barry.sarcasmogerdes.com/stellarium/BEAU-3c.png
  
 
==Removing the background to make it transparent==
 
==Removing the background to make it transparent==
This is the most complex part of the process and requires a program that can produce transparency to parts of your picture, commonly called an alpha channel. Two programs I know of will do this. The very expensive and sophisticated Adobe Photoshop and a freebee called The Gimp.  
+
This is the most complex part of the process and requires a program that can produce transparency to parts of your picture, commonly called an alpha channel. Two programs I know of will do this. The very expensive and sophisticated Adobe Photoshop and a freebee called The Gimp. I used photoshop to cut the full panorama into 1024 x 1024 textures because it was the easiest to do accurate cutting but it can be done in TheGimp as well.
 +
 
 +
I first used Photoshop to produce the alpha channel because it was the only way I knew but I now use the GIMP as it is much easier to process the individual textures than removing the background from the full panorama.
 +
 
 +
1. Load the 1st section into TheGimp
 +
 
 +
2. Next create a new empty picture 1024 x 1024 then use the advanced tab to make the background color transparency. Copy the original texture onto this new picture base so that it exactly fits the frame then select layer from the menu and press anchor. This will create a new picture with with an alpha channel. By using the select by color and lasso etc cut out the parts you don't want this will expose the checkerboard background. When you are happy with the removal save the texture in *.png format to preserve the alpha layer.
 +
 
 +
3. Do the same with the remaining pictures to make all the components of the landscape.
 +
 
 +
4. Make a new directory for the landscape. This should be a sub-directory of either the <user directory>/landscapes or <installation>/landscapes directory. The name of the directory should be unique to your landscape, and is the landscape ID. The convention is to use a single descriptive word in lowercase text, for example gueriens. Place your pictures your new directory.
 +
 
 +
5. In your new landscape directory, create a new file called landscape.ini file (I used wordpad). Add a line for the [landscape] section. It's probably easiest to copy the landscape.ini file for the Gueriens landscape and edit it. Edit the name Guereins in every instance to the name you have given your landscape. Don't forget to make the number of tex entries agree with the number of your pictures. If you haven't made a groundtex picture use one of the existing ones from the file or make a square blank picture of your own idea. Because I took my pictures from the roof of the house I used an edited picture of the roof of my house from Google Earth. It was pretty cruddy low resolution but served the purpose.
 +
 
 +
6. Next you need to orientate your picture North with true North. This is done roughly by making the arrangement of side1 to siden suit your site as close as possible. Now you need to edit the value of decor_angle_rotatez to move your landscape in azimuth. Edit decor_alt_angle to move you landscape in altitude to align your visible horizon angle. Edit ground_angle_rotatez to align your ground with the rest of the landscape. Leave the other entries they are suitable as is.
 +
 
 +
After re-starting Stellarium, your landscape will appear in the landscape folder of the main menu , and can be selected as required.
 +
 
 +
==Making a Spherical Panorama==
 +
 
 +
A simpler method of making a panorama is to use the spherical method. These can be made to create the full panorama using the program Autostitch. The big advantage of the spherical panorama is that it does not need a ground panel. However the drawback with the Spherical panorama is that few computer video cards will reproduce a panorama larger than 4096 x 2048 pixels and many will not do better than 2048 x 1024 pixels
 +
 
 +
http://barry.sarcasmogerdes.com/stellarium/egarden.png
 +
 
 +
The Autostitch program is quite easy to use. Make sure your panorama shots take the ground almost up to your feet and follow the instructions in the readme file.
 +
[http://www.example.com link title] When the panorama is finished it will be in *,jpg format. This will need to be converted to a *.png with transparent background (alpha layer) and have the sky removed. This can be done in TheGimp as in the multi-panel type. When the sky is removed make sure you save the landscape in *.png format.
 +
 
 +
My computer will only do 2048 by 1024, If I try to load a larger type I just get a white screen. With this problem I used the following procedure to make the spherical into a four panel multi-panel landscape with a very effective ground that matched well
 +
 
 +
==Converting a Spherical Panorama into a Multi Panel==
 +
 
 +
Most computers with standard video cards will not display spherical panoramas larger than 4096 x 2048 and some will not even go beyond 2048 x 1024. This makes rather poor resolution panaoramas. OK for planets but not very pretty for your local environment. If the panorama can have a horizontal section cut out that can keep the detail within a 1024 vertical boundary it is ideal for processing into 1024 x 1024 sections. When you have the sections proceed as with the previous description
 +
 
 +
http://barry.sarcasmogerdes.com/stellarium/egarden-narrow.png
 +
 
 +
I made the egarden into a 4096 x 1024 quite easily because there was a lot of blank space above the horizon. This would allow 4 panels 1024 x 1024 pixels.in fact if I had a 8192 x 4096 panorama I could have made it into 8 1024 x 1024 panels. This would have given me quite a high resolution horizon
 +
 
 +
http://barry.sarcasmogerdes.com/stellarium/egarden-narrow-2.png
 +
 
 +
1. Load the sections into TheGimp and process them into 1024 x 1024 textures with alpha layers as before.
 +
 
 +
2. Next use a 2048 x 1024 version of the panorama in Stellarium. Drag the screen around so it produces a centralised picture on the Stellarium screen of the ground at the highest resolution possible and take a screen shot. This screen shot can be then processed into a quite effective ground texture in TheGimp that can be adjusted to match the rest of the panorama
 +
 
 +
http://barry.sarcasmogerdes.com/stellarium/egardembase.png
 +
 
 +
3. Make a new directory etc. for the landscape.
 +
 
 +
4. You can make it fit using the variablein the landscape.ini file decor_alt_angle=xx decor_angle_shift=xx and decor_angle_rotatez=xx.Then the ground can be matched with ground_angle_shift=xx and ground_angle_rotatez=xx.
 +
 
 +
5. Make sure the draw_ground_first=1 to ensure that the main panorama overplays the ground
 +
 
 +
After re-starting Stellarium, your landscape will appear in the landscape tab of the main menu, and can be selected as required.
 +
 
 +
When the panorama is finished it will be in *.jpg format. It will need to be converted to a *.png with transparent background (alpha layer) and have the sky removed. This is done in TheGimp as in the multipanel type. When the sky is removed make sure you save the landscape in *.png format.
 +
 
 +
The drawback with the spherical panorama is that few computer video cards will reproduce a panorama larger than 4096 x 2048 pixels in Stellarium and many will not do better than 2048 x 1024 pixels.
 +
 
 +
My computer will only do 2048 by 1024, If I try to load a larger type I just get a white screen. With this problem I used the following procedure to make the spherical into a four panel multi panel landscape with a very effective ground that matched well.
  
I used Photoshop to produce the alpha channel because selection of the area for transparency was more positive with the complex skyline I had and I had learnt a little more on how to drive it before I found an executable form of The Gimp. For the rest I used a combination of both programs. I will describe the alpha channel process in detail for Photoshop. A lot of this would be suitable for The Gimp as they are very similar programs but I have only tried the bare essential in The Gimp to prove to myself that it could be done.
+
==Making a Fish eye Panorama==
  
<ol>
+
This sort of panorama needs a very expensive fisheye lens on your camera. It is really only practical for a planetarium display to give a simple more or less silouette landscape where the ground is completely obscured. It can only be used with quite small pictures of no more than 1024 x 1024 pixels. Once you have your fisheye texture it must still be processed in TheGimp to remove the sky and convert into an alpha layer texture
<li> Load the panorama picture into Photoshop.</li>
+
<li> Create an alpha channel using the channel pop up window. This channel was then selected as the only channel visible and it was all black at this stage. It needs to be all white. To edit this took me some time to discover how. What I did was click on Edit in Quick mask mode and then Edit in standard mode. This procedure was the only way I found I could edit. Click on the magic wand and click it on the channel picture. It will put a mask around the whole picture. Next I selected the brush tool and toggled the foreground to white and painted the whole channel white (using a very large brush size 445 pixels).</li>
+
<li> Next I turned the alpha channel off and selected the other channels to get the original picture. I got rid of the full mask that I had forgotten to remove by selecting Step backwards from the edit menu. I first tried the magnetic loop tool to select the sections for a mask but it was too fiddly for me. I then used the magic wand tool to select the sky sections bit by bit (zoom in on the image to see what you are doing) this would have been easy if the sky had been cloudless because colour match does this selection. I cut each selection out. It took about an hour to remove all the sky (because it was cloudy) and leave just the skyline image as a suitable mask. Clicking the magic wand in the sky area when all the sky has been removed will show an outline mask of the removed sky. Zoom in and carefully check the whole area to make sure there is no sky left. Leave this mask there.</li>
+
<li> Re-select the alpha channel and turn the other channels off. The alpha channel will be visible and the mask should be showing. Re-select Edit in Quick mask mode and then Edit in standard mode to edit. Select the brush tool and toggle to the black foreground. Fill in the masked area with a large brush size. The colour (black) will only go into the masked area. It wont spill over so the job is quite easy.</li>
+
<li> When this is done you will have created your alpha layer. Check the size of the image and if it is greater than 5000 pixels wide reduce its size by a fixed percentage till it is under this limit. The limit was necessary for one of the programs I used but may not be always necessary. However any greater resolution will be wasted and the file size will be excessive. Save the whole image in the compressed tiff form or PNG form. The only formats that preserve the alpha channel.</li>
+
<li> This image is the horizon picture. Give it a name .tif or .png, whichever format you save it in.
+
  
After making the ''panorama.tif'' I noticed that the trees still had areas of the original sky embedded that were not blanked by the alpha layer. I found that I could add these sections piece by piece to the alpha layer with the magic wand and paint them out. This took some time, as there were a large number to be removed. However the result was worth the effort, as it allows the sky display to be seen through the trees. Especially at high zooms ins.
 
  
Another little trick I discovered was that the panorama could be saved as a JPEG file (no alpha channel) and the alpha channel also saved as a separate JPEG file. This can save space for transmission. And allow manipulation of the original file in another program as long as the skyline is unchanged. At a later date the two files can be re-combined in Photoshop to re-form the TIFF file with alpha channel.
+
http://barry.sarcasmogerdes.com/stellarium/trees_512.png
  
Using this trick I did a little patching and painting on the original picture in Paint on the original JPEG form. When completed I loaded it into  Photoshop and added the blank alpha channel to it. I was then able to paste the previously created alpha layer into the new picture. It worked perfectly.</li>
+
The sample supplied with Stellarium is called trees. The horizon needs to be identified and the picture sized so that the panorama above the horizon is sited to be about 80% of the total extent and the the balance of the border filled with a dark colour right up to the horizon. This will make the horizon in your landscape at 0 degrees.  
<li> The panorama now needs to be broken up into suitable square images for insertion into a landscape. It took me some time to get the hang of this but the process I found best was in The Gimp. It was the easiest to cut the main panorama into sections as it has a mask scale in the tool bar.</li>
+
<li> Load the panorama file with alpha channel into The Gimp. Then using the mask tool cut out the squares of the predetermined size starting from the left hand side of the picture. I don't think it is necessary to make them exact squares but I did not experiment with this aspect. The position of the cut will be shown on the lower tool bar. Accuracy is improved if you use the maximum zoom that will fit on the page.</li>
+
<li> Create a new picture from the file menu then select and adjust the size to your predetermined size then select transparent for the background. Because of the alpha channel the transparent section will be automatically clipped of much of the transparent part of the picture. Paste the cutting into the new picture. If it is smaller than your predetermined size it will go to the centre leaving some of the transparent background at the bottom of the picture. Save the file in the PNG format. Moving the picture to the bottom of the window is much easier in Photoshop although quite possible in The Gimp.</li>
+
<li> I repeated steps 8 and 9 till I had all sections of the panorama saved.</li>
+
<li> Next I re-loaded Photoshop and opened the first of the saved pictures. Then from the menu selected the picture with the mask tool and then selected move. Next clicking on the picture will cut it out. The cutting can now be dragged to the bottom of the frame. It will not go any further so there is no trouble aligning. This bottom stop did not work on The Gimp and so it was harder to cut and place the picture section. It is most important to align the pictures to the bottom. </li>
+
<li> Save the picture with the name you intend to call your landscape as ''xxxxxx1.png''.</li>
+
<li> Repeat steps 11 and 12 for the rest of the pictures till you have all the elements for your landscape.</li>
+
<li> Make a new directory for the landscape. This should be a sub-directory of either the ''<user directory>/landscapes'' or ''<installation>/landscapes'' directory. The name of the directory should be unique to your landscape, and is the landscape ID. The convention is to use a single descriptive word in lowercase text, for example gueriens. Place your pictures your new directory.</li>
+
<li> In your new landscape directory, create a new file called ''landscape.ini'' file (I used wordpad). Add a line for the '''[landscape]''' section. It's probably easiest to copy the ''landscape.ini'' file for the Gueriens landscape and edit it. Edit the name Guereins in every instance to the name you have given your landscape. Don't forget to make the number of tex entries agree with the number of your pictures. If you haven't made a groundtex picture use one of the existing ones from the file or make a square blank picture of your own idea. Because I took my pictures from the roof of the house I used an edited picture of the roof of my house from Google Earth. It was pretty cruddy low resolution but served the purpose.</li>
+
<li> Next you need to orientate your picture North with true North. This is done roughly by making the arrangement of side1 to siden suit your site as close as possible. Now you need to edit the value of '''decor_angle_rotatez''' to move your landscape in azimuth. Edit '''decor_alt_angle''' to move you landscape in altitude to align your visible horizon angle. Edit '''ground_angle_rotatez''' to align your ground with the rest of the landscape. Leave the other entries they are suitable as is.</li></ol>
+
  
After re-starting Stellarium, your landscape will appear in the landscape tab of the configuration window, and can be selected as required.
+
It is possible to make a synthetic fisheye texture using the same method as making a ground from a spherical panorama but it is hardly worth the trouble as even a simple 2048 x 1024 pixel sperical will give a far better result.
  
 
{{Template:LRCNavigation|Star Catalogue|Stellarium User Guide|Sky Guide}}
 
{{Template:LRCNavigation|Star Catalogue|Stellarium User Guide|Sky Guide}}
  
 
[[Category:Stellarium User Guide]]
 
[[Category:Stellarium User Guide]]

Revision as of 03:25, 20 August 2013

Information is actual for version 0.12.3

Contents

Making a Multi panel Panorama

landscape_beaumonthills.jpg

This is the only way to get a high resolution panorama and although this procedure is based on the Microsoft Windows System the basics will apply to any platform that can run the programs mentioned or similar programs on the preferred system. If you want a high resolution this is the only method to use. The first thing needed for a personalised landscape to superimpose on the horizon display is a 360° panorama with a transparent background. To make this you will need the following:

  • A digital camera on a tripod or stable platform
  • A program to convert the pictures into a 360° panorama
  • A program to remove the background and convert the panorama into about 8 square pictures in PNG format for insertion into Stellarium as the sides and if possible a similar square picture of the base you are standing on to form the ground. This last requirement is only really possible if this area is relatively featureless as the problem of knitting a complex base is well nigh impossible.
  • Patience. (Maybe a soundproof room so that the swearing wont be heard when you press the wrong key and lose an hours work)

The Camera

Digital cameras are easy and cheaply available these days so whatever you have should do. One mega-pixel resolution is quite sufficient.

The camera needs to be mounted on a tripod so that reasonably orientated pictures can be taken. Select a time of day that is quite bright with a neutral cloudy sky so there will be no shadows and a sky of the same overall texture. This will make it easier to remove later. The pictures were all saved in the JPG format which was used as the common format for all processes up to the removal of the background.

With a camera that takes 4:3 ratio pictures I found 14 evenly spaced pictures gave the best 360° panorama in the program I used to produce it.

Processing into a Panorama

This is the most complicated part of the process of generating the panorama. I used two separate programs to do this. Firstly I used The Gimp to re size the panels to 1024x768 and so make them easier to handle in the panorama program.

When I had my 14 processed pictures I inserted them into the panorama program. I first used a program called the Panorama Factory. Version 1.6 is a freebee that works well and can be downloaded from the internet - a Google search will find it. I later used version 3.4 that is better and cost about $40 off the Internet. This program has many options and can be configured to suit most cameras and can make a seamless 360° panorama in barrel form that will take a highly trained eye to find where the joins occur.

The resulting panorama was then loaded into The Gimp and trimmed to a suitable size. Mine ended up 14024 x 1601 pixels. I trimmed the vertical size to 1024 by cutting back then stretched the 14024 to 14336 pixels, with almost no distortion, that would allow cutting into 14 1024 x1024 pictures at a later date. If the height of the panorama had been greater I could have made fewer pictures and so shown more of the foreground. See figure [fig:panorama360].

If you have prominent foreground items like posts wires etc. that occur in adjacent pictures the panorama program will have difficulty in discerning them because of the 3D effect and may give double images. I overcame this by painting out the offending item by cut and paste between the two pictures. Quite easy with a little practice using the zoom in facility and I found the MSpaint program the easiest to do this in.

BEAU-3c.png

Removing the background to make it transparent

This is the most complex part of the process and requires a program that can produce transparency to parts of your picture, commonly called an alpha channel. Two programs I know of will do this. The very expensive and sophisticated Adobe Photoshop and a freebee called The Gimp. I used photoshop to cut the full panorama into 1024 x 1024 textures because it was the easiest to do accurate cutting but it can be done in TheGimp as well.

I first used Photoshop to produce the alpha channel because it was the only way I knew but I now use the GIMP as it is much easier to process the individual textures than removing the background from the full panorama.

1. Load the 1st section into TheGimp

2. Next create a new empty picture 1024 x 1024 then use the advanced tab to make the background color transparency. Copy the original texture onto this new picture base so that it exactly fits the frame then select layer from the menu and press anchor. This will create a new picture with with an alpha channel. By using the select by color and lasso etc cut out the parts you don't want this will expose the checkerboard background. When you are happy with the removal save the texture in *.png format to preserve the alpha layer.

3. Do the same with the remaining pictures to make all the components of the landscape.

4. Make a new directory for the landscape. This should be a sub-directory of either the <user directory>/landscapes or <installation>/landscapes directory. The name of the directory should be unique to your landscape, and is the landscape ID. The convention is to use a single descriptive word in lowercase text, for example gueriens. Place your pictures your new directory.

5. In your new landscape directory, create a new file called landscape.ini file (I used wordpad). Add a line for the [landscape] section. It's probably easiest to copy the landscape.ini file for the Gueriens landscape and edit it. Edit the name Guereins in every instance to the name you have given your landscape. Don't forget to make the number of tex entries agree with the number of your pictures. If you haven't made a groundtex picture use one of the existing ones from the file or make a square blank picture of your own idea. Because I took my pictures from the roof of the house I used an edited picture of the roof of my house from Google Earth. It was pretty cruddy low resolution but served the purpose.

6. Next you need to orientate your picture North with true North. This is done roughly by making the arrangement of side1 to siden suit your site as close as possible. Now you need to edit the value of decor_angle_rotatez to move your landscape in azimuth. Edit decor_alt_angle to move you landscape in altitude to align your visible horizon angle. Edit ground_angle_rotatez to align your ground with the rest of the landscape. Leave the other entries they are suitable as is.

After re-starting Stellarium, your landscape will appear in the landscape folder of the main menu , and can be selected as required.

Making a Spherical Panorama

A simpler method of making a panorama is to use the spherical method. These can be made to create the full panorama using the program Autostitch. The big advantage of the spherical panorama is that it does not need a ground panel. However the drawback with the Spherical panorama is that few computer video cards will reproduce a panorama larger than 4096 x 2048 pixels and many will not do better than 2048 x 1024 pixels

egarden.png

The Autostitch program is quite easy to use. Make sure your panorama shots take the ground almost up to your feet and follow the instructions in the readme file. link title When the panorama is finished it will be in *,jpg format. This will need to be converted to a *.png with transparent background (alpha layer) and have the sky removed. This can be done in TheGimp as in the multi-panel type. When the sky is removed make sure you save the landscape in *.png format.

My computer will only do 2048 by 1024, If I try to load a larger type I just get a white screen. With this problem I used the following procedure to make the spherical into a four panel multi-panel landscape with a very effective ground that matched well

Converting a Spherical Panorama into a Multi Panel

Most computers with standard video cards will not display spherical panoramas larger than 4096 x 2048 and some will not even go beyond 2048 x 1024. This makes rather poor resolution panaoramas. OK for planets but not very pretty for your local environment. If the panorama can have a horizontal section cut out that can keep the detail within a 1024 vertical boundary it is ideal for processing into 1024 x 1024 sections. When you have the sections proceed as with the previous description

egarden-narrow.png

I made the egarden into a 4096 x 1024 quite easily because there was a lot of blank space above the horizon. This would allow 4 panels 1024 x 1024 pixels.in fact if I had a 8192 x 4096 panorama I could have made it into 8 1024 x 1024 panels. This would have given me quite a high resolution horizon

egarden-narrow-2.png

1. Load the sections into TheGimp and process them into 1024 x 1024 textures with alpha layers as before.

2. Next use a 2048 x 1024 version of the panorama in Stellarium. Drag the screen around so it produces a centralised picture on the Stellarium screen of the ground at the highest resolution possible and take a screen shot. This screen shot can be then processed into a quite effective ground texture in TheGimp that can be adjusted to match the rest of the panorama

egardembase.png

3. Make a new directory etc. for the landscape.

4. You can make it fit using the variablein the landscape.ini file decor_alt_angle=xx decor_angle_shift=xx and decor_angle_rotatez=xx.Then the ground can be matched with ground_angle_shift=xx and ground_angle_rotatez=xx.

5. Make sure the draw_ground_first=1 to ensure that the main panorama overplays the ground

After re-starting Stellarium, your landscape will appear in the landscape tab of the main menu, and can be selected as required.

When the panorama is finished it will be in *.jpg format. It will need to be converted to a *.png with transparent background (alpha layer) and have the sky removed. This is done in TheGimp as in the multipanel type. When the sky is removed make sure you save the landscape in *.png format.

The drawback with the spherical panorama is that few computer video cards will reproduce a panorama larger than 4096 x 2048 pixels in Stellarium and many will not do better than 2048 x 1024 pixels.

My computer will only do 2048 by 1024, If I try to load a larger type I just get a white screen. With this problem I used the following procedure to make the spherical into a four panel multi panel landscape with a very effective ground that matched well.

Making a Fish eye Panorama

This sort of panorama needs a very expensive fisheye lens on your camera. It is really only practical for a planetarium display to give a simple more or less silouette landscape where the ground is completely obscured. It can only be used with quite small pictures of no more than 1024 x 1024 pixels. Once you have your fisheye texture it must still be processed in TheGimp to remove the sky and convert into an alpha layer texture


trees_512.png

The sample supplied with Stellarium is called trees. The horizon needs to be identified and the picture sized so that the panorama above the horizon is sited to be about 80% of the total extent and the the balance of the border filled with a dark colour right up to the horizon. This will make the horizon in your landscape at 0 degrees.

It is possible to make a synthetic fisheye texture using the same method as making a ground from a spherical panorama but it is hardly worth the trouble as even a simple 2048 x 1024 pixel sperical will give a far better result.

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox