Page 1 of 1

Undocumented SSC Script Element .... need Help

Posted: 12.12.2005, 00:46
by Macoy
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.

Posted: 12.12.2005, 12:15
by selden
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.