How to shift custom horizon alt-position

Asked by andreadinotte on 2009-11-22


I've made my own custom horizon and I have found out that the horizon can be shifted in the azimuth axis (horizontally)
by adding an "angle_rotatez" value in the custom horizon ini file which is great!

My question: what I'd like to know is if there is code for shifting the horizon up or down.
I've tried adding an "alt_angle" value but it doesn't seem to work.

Any suggestions?

Here's what my custom ini file looks like:

name = Street
author = Andy
description = My garden
type = spherical
maptex = mygarden.png
angle_rotatez = 10
planet = Earth
latitude = +53d19'02"
longitude = +4d58'08"
altitude = 0

Question information

English Edit question
Stellarium Edit question
No assignee Edit question
Last query:
Last reply:
Bogdan Marinov (daggerstab) said : #1


As far as I know, the only way to shift the horizon in a "spherical" (actually, equirectangular) landscape is to modify the texture itself.

I had a look in the code: in /src/modules/Landscape.cpp, the LandscapeSpherical class accepts only angle_rotatez.

Can you help with this problem?

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

To post a message you must log in.