How to calculate planet rotation/orientation

General physics and astronomy discussions not directly related to Celestia
Topic author
posfan12
Posts: 24
Joined: 01.07.2010
With us: 14 years 4 months

How to calculate planet rotation/orientation

Post #1by posfan12 » 24.09.2018, 01:50

I am creating a POV-Ray scene to model the Solar System:

http://lib.povray.org/searchcollection/index2.php ... emOrrery&contributorTag=SharkD

Using this PDF I was able to plot the planet positions:

https://ssd.jpl.nasa.gov/txt/aprx_pos_planets.pdf

However, now I want to rotate/orient each planet properly using rotational elements found here:

https://astropedia.astrogeology.usgs.gov/download/Docs/WGCCRE/WGCCRE2009reprint.pdf

I *think* this is how it works:

1. Position the planet so that the pole axis is aligned with the Z (up) coordinate axis.
2. Position the planet so that the the prime meridian points toward the negative X axis.
3. Rotate around the Z axis by W.
4. Rotate around the X axis by (90-delta_0) degrees.
5. Rotate around the Z axis by (90+alpha_0) degrees.
6. Rotate around the X axis by 23.43928 to get out of the ICRF frame and into the ecliptic frame.
7. Rotate around the Z axis by 90 degrees for reasons unknown to me.

These steps seem to work reliably for Earth and Mars (give or take one hour). But for Saturn they are off by about ~90 degrees around the Z axis (as far as I can tell). Am I following the wrong steps? Where am I making a mistake? Thanks!
Last edited by posfan12 on 27.09.2018, 22:52, edited 2 times in total.

Topic author
posfan12
Posts: 24
Joined: 01.07.2010
With us: 14 years 4 months

Post #2by posfan12 » 27.09.2018, 22:50

Here are some comparisons showing that my math is somehow wrong.

https://imgur.com/a/iJcVme7

I skipped step 7, above, however.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 1 month

Post #3by onetwothree » 02.11.2018, 13:38

Hi posfan12,

Have you asked this question on http://forum.celestialmatters.org? There some original Celestia authors can be found.

amzounslide
Posts: 1
Joined: 10.06.2019
With us: 5 years 5 months

Post #4by amzounslide » 10.06.2019, 18:53

I'd just make one small point. In your first diagram, it appears as if you are showing the Moon's orbit as being on the same plane as the Celestial plane/equator, where, in reality, it is inclined by ~5 degrees to the ecliptic (~18 degrees to the Celestial equator).

Topic author
posfan12
Posts: 24
Joined: 01.07.2010
With us: 14 years 4 months

Post #5by posfan12 » 11.06.2019, 21:16

There are no moons in any of my images.


Return to “Physics and Astronomy”