Simulating the grid lines in Stellarium

Asked by Deven Patel

Hello,

We're working on a project that has led us to simulating the grid lines in Stellarium (Alt/Azi and RA/Dec) in MATLAB. To date, we haven't had much success, we've been trying various spherical equations, but they only seem to work for specific coordinates when we compare it to Stellarium. Are there a set of equations that Stellarium uses to simulate these grid lines?

Thank you!

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
gzotti (georg-zotti) said :
#1

The appearance of the grids depends on the projection. You may need to implement projections in Matlab.

Revision history for this message
Deven Patel (deven.patel) said :
#2

Yes, exactly, I'm trying to find equations that will return the appearance of the grids for all angles of altitude from 0 to 90 degrees; it hasn't worked so far.

Revision history for this message
Alexander Wolf (alexwolf) said :
#3

Rendering grids for any coordinate system is not sense without the projection.

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

I don't understand the difficulty. Open a math/geometry textbook, or google for e.g. "Sinusoidal Projection" (or whichever projection you want to work with) and the first hit likely is the Wikipedia article about it which usually comes with the relevant equations. Astronomical coordinate conversion (Equatorial/ecliptical/azimuthal) is available from basic astronomical computing literature or likewise Wikipedia. Stellarium's developer team did not invent those projections.

Can you help with this problem?

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

To post a message you must log in.