Planets missing

Report bugs, bug fixes and workarounds here.
Topic author
Akajune

Planets missing

Post #1by Akajune » 10.07.2004, 08:24

I edited the solarsys.ssc to change some Neptune's texure. After i added an alternate surfaces line, the planet disappeared from Celestia.

After some probing, i realized that Pluto was missing too. Including all of the information that came after the Neptune portion on solarsys.ssc. What could have happened? Did i mess up something?

Here's what a portion of the file looks like. Perhaps you can find a problem? Thanks.

"Neptune" "Sol"
{
Texture "neptune_current.*"
Color [ 0.75 0.75 1.0 ]
HazeColor [ 0.6 1 0.75 ]
HazeDensity 0.35
Radius 24766 # equatorial
Oblateness 0.017

CustomOrbit "vsop87-neptune"
EllipticalOrbit
{
Period 164.793
SemiMajorAxis 30.0690
Eccentricity 0.0086
Inclination 1.7692
AscendingNode 131.722
LongOfPericenter 44.971
MeanLongitude 304.880
}

Atmosphere {
Height 130
Lower [ 0.6 0.65 1.0 ]
Upper [ 0.5 0.55 0.9 ]
Sky [ 0.5 0.7 0.9 ]
}

RotationPeriod 16.11 # System III (magnetic field)
Obliquity 28.03
EquatorAscendingNode 49.235
RotationOffset 228.65 # correct System III prime meridian

Albedo 0.62

Rings {
Inner 53150
Outer 62947
Texture "neptune-rings.png"
}

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

Post #2by selden » 10.07.2004, 11:46

The error is in or just before the description of the first object that is not drawn.

I'd suggest looking at Celestia's "console log" (type a "~". On U.S. keyboards, that's the same as "Shift-`". On European keyboards, you'll probably have to type a "space" afterward.) The on-screen display wi'll include an error message that might help locate the typo. Use the arrow keys to move the log up and down.
Selden

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #3by granthutchison » 10.07.2004, 12:56

The section you've posted is missing a closing bracket at the very end: you've closed the rings definition, but not the Neptune definition.

Grant

Guest

Post #4by Guest » 12.07.2004, 09:38

Thanks. Problem solved


Return to “Bugs”