For those people who are always complaining that the Sun isn't at the origin in Celestia, this is for you . . .
Well, the Sun still won't be at the origin--the origin is the solar system barycenter, which usually lies outside of the Sun. There's a new custom orbit for the Sun relative to the Solar System barycenter.
I didn't yet make the modifications to nearstars.stc that will set the
solar system barycenter as the origin. Here's are the definitions you should use for the Sun in nearstars.stc:
Barycenter "Solar System Barycenter:SSB"
{
RA 0
Dec 0
Distance 0
}
0 "Sol:Sun"
{
OrbitBarycenter "Solar System Barycenter"
CustomOrbit "vsop87-sun"
SpectralType "G2V"
AbsMag 4.83
RotationPeriod 609.12 # 25.38 days
Obliquity 7.25 # correct orientation relative to ecliptic
EquatorAscendingNode 75.77 #
RotationOffset 23.00 # standard meridian
}
Moving the Sun
HHUUURRRRRAAAA !
Was about time ! Finally, accuracy won !
Now old scripts creators, do your homework ! Hehehe !
Question : the planets are orbiting what ? The Sun, or the barycenter ! Hehehe !
Was about time ! Finally, accuracy won !
Now old scripts creators, do your homework ! Hehehe !
Question : the planets are orbiting what ? The Sun, or the barycenter ! Hehehe !
Last edited by Cham on 25.09.2006, 19:18, edited 1 time in total.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Sounds good to me.
How was the previous origin set for Celestia, out of curiosity. Was is something completely arbitrary?
How was the previous origin set for Celestia, out of curiosity. Was is something completely arbitrary?
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system
Re: Moving the Sun
chris wrote:For those people who are always complaining that the Sun isn't at the origin in Celestia, this is for you . . .
Well, the Sun still won't be at the origin--the origin is the solar system barycenter, which usually lies outside of the Sun. There's a new custom orbit for the Sun relative to the Solar System barycenter.
I didn't yet make the modifications to nearstars.stc that will set the
solar system barycenter as the origin. Here's are the definitions you should use for the Sun in nearstars.stc:
Barycenter "Solar System Barycenter:SSB"
{
RA 0
Dec 0
Distance 0
}
0 "Sol:Sun"
{
OrbitBarycenter "Solar System Barycenter"
CustomOrbit "vsop87-sun"
SpectralType "G2V"
AbsMag 4.83
RotationPeriod 609.12 # 25.38 days
Obliquity 7.25 # correct orientation relative to ecliptic
EquatorAscendingNode 75.77 #
RotationOffset 23.00 # standard meridian
}
Solar System Barycenter <= 206.27AU Distance => sol
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Malenfant wrote:Sounds good to me.
How was the previous origin set for Celestia, out of curiosity. Was is something completely arbitrary?
Originally positions of stars had to be specified with by right ascension, declination, and parallax. Since distance is proportional to 1/parallax, positioning something at the origin requires an infinite parallax. I just worked around this by giving the Sun a very large parallax--one that put it near the origin, but not exactly on it.
--Chris
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Most scripts should still work fine . . . However, cel: URLs will need updating unless I implement some backward compatibility fix.Cham wrote:HHUUURRRRRAAAA !
Was about time ! Finally, accuracy won !
Now old scripts creators, do your homework ! Hehehe !
Question : the planets are orbiting what ? The Sun, or the barycenter !
The VSOP87 custom orbits for the planets are in heliocentric coordinates, so everything still orbits the Sun. But, it's possible to redefine them in barycentric coordinates if you want to use barycentric xyz or SPICE orbits.
I think the impact of the Sun not being at the origin was very much exaggerated. As far as I know, there were no real bugs attributed to the Sun being somewhere other than the origin. It would very slightly affect the positions of stars, but I don't believe any bugs were reported against this.
The main thing I like about this change is that I can observer the Sun move relative to the solar system barycenter. The dominant influence of Jupiter is clear: the center of the Sun is always displaced from the barycenter in roughly the direction of Jupiter. The displacement from the barycenter is noticeably larger when Jupiter and Saturn are aligned in the same direction. It will be a neat demonstration in educationally oriented Celestia activities.
--Chris
chris wrote:the center of the Sun is always displaced from the barycenter in roughly the direction of Jupiter.--Chris
You mean in the **opposite** direction of Jupiter ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
chris wrote:Most scripts should still work fine . . . However, cel: URLs will need updating unless I implement some backward compatibility fix.Cham wrote:HHUUURRRRRAAAA !
Was about time ! Finally, accuracy won !
Now old scripts creators, do your homework ! Hehehe !
Is there going to be a simple way to fix the URLs? eg write a small conversion program that adds the relevant numbers to the right place in the url and then outputs the correct one?
I definitely prefer having a non-arbitrary origin, but if it can be done so that all the scripts and celURLs aren't broken then that's even better
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system
-
- Posts: 34
- Joined: 29.03.2006
- With us: 18 years 7 months
- Location: Romania, Bucharest
For those people who are always complaining that the Sun isn't at the origin in Celestia, this is for you . . .
Well, the Sun still won't be at the origin--the origin is the solar system barycenter, which usually lies outside of the Sun. There's a new custom orbit for the Sun relative to the Solar System barycenter.
Whell that can be applied to other stars with planets