Undocumented SSC Script Element .... need Help

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Macoy
Posts: 8
Joined: 15.11.2005
With us: 19 years

Undocumented SSC Script Element .... need Help

Post #1by Macoy » 12.12.2005, 00:46

Hi,

Iam currently working on a Parser for SSC Code (so that my app StarDust will be able to open SSC Files) and found a Element, that i could not find in the documenation.

Here is a example from solarsys.ssc

Code: Select all

CustomOrbit"vsop87-mercury"
EllipticalOrbit
{ ... }


What does that CustomOrbit Statement ? Is this a reference ?

Is there any realtionship between CustomOrbit and EllipticalOrbit ?

Thanks for you help.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 12.12.2005, 12:15

CustomOrbit specifies an orbit definition which is internal to Celestia's source code. It's only available for the planets and some moons in our solar system. Currently the planetary orbits use the "VSOP87 theory," which is much more accurate than Keplerian orbits.

When a CustomOrbit is specified, the EllipticalOrbit is ignored.
Selden


Return to “Development”