Make a point on the landscape

Asked by Gregory Morris

I wish to make a point on my landscape scene to represent a mountain peak from my location, so I can predict a moon or sunrise behind this peak. Can this be done?

Question information

Language:
English Edit question
Status:
Answered
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Khalid AlAjaji (kajaji) said :
#1

This is my guess until someone provide a definite answer:

- Copy a landscape folder of the spherical type, Mars for example.

- Rename the folder to Peak
- in the landscape.ini Modifythe name= Mars line to be name=Peak
- Edit the Mars.png file using an image editor and put a circle where the peak should be (some image editors will show the cursor location in pixel y and x from the top left corner (e.g the free paint.net).

To know the location of the circle do the following computation:

y coordinate of the center pixel = 512 - (the peak height in degrees/90) * 512

x coordinate of the center pixel = (peak compass mark - 90)/360 * 2048 (for peak compass direction between 90 and 360)
x coordinate of the center pixel = (peak compass mark + 270)/360 * 2048 (for peak compass direction between 0 and 90)

The Mars image file has the west (270) in the center and east (90) on the edges.

Revision history for this message
gzotti (georg-zotti) said :
#2

You can create a transparent grid (use PNG format) with regular (square) cells with some image editor, e.g. 360x30 if your mountain is less than 30 degrees high, plot the peak, slice into e.g. 8 segments and configure the landscape as old_style (use Guereins as template), with

decor_angle_rotatez = -90
decor_alt_angle = 30
decor_angle_shift = 0
calibrated=true

The last entry is important for correct altitudes. The first entry is -90 when your panorama has North on the left end.
HTH, G.

Revision history for this message
gzotti (georg-zotti) said :
#3

Addition: The grid canvas should of course be much larger, like 3600x300, 7200x600, or more.

Can you help with this problem?

Provide an answer of your own, or ask Gregory Morris for more information if necessary.

To post a message you must log in.