Hierarchy display problem w/ Solar System Browser in 1.2.4

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Mutos
Posts: 75
Joined: 15.07.2002
With us: 22 years 4 months
Location: France

Hierarchy display problem w/ Solar System Browser in 1.2.4

Post #1by Mutos » 22.09.2002, 11:01

Hi everybody,


Still trying to build around 79 Cet the Drom stellar system, home of the Rithai spacegoing species in my Hoshikaze universe ! But when creating a station, I found what seems a hierarchy display problem in the Solar System Browser.

There is a gas planet called Matholn in the system, which has (for now) only one satellite, called Ergal. Around this satellite lies a station. When I start Celestia w/ data below, it shows the planet, the satellite & the station at their correct position. But in the browser, the Ergal & Marnia Ud Deskae lines are both under Matholn, instead of Ergal being under Matholn & Marnia Ud Deskae under Ergal. It displays just as if the station were a satellite of Matholn instead of being one of Ergal !

Could anyone confirm if on his own Celestia the problem occurs ? I checked my code & it seems correct. Anyways it displays OK except for the SSB hierarchy.

Here are the codes I use for these. They are not Kepler-correct since I discovered the problem before calculating the correct axis-period values. I also included planet Irilia for not having only one planet in the system.

------------ Beginning of code
------------ Just replaced textures & models w/ existing ones
"Matholn" "79 Cet"
# This planet has actually been discovered
# Extracted from extrasolar.ssc
# Added texture made w/ Planet Texture Generator
{
Texture "jupiter.jpg"
Mass 80
Radius 49000

# orbital data
EllipticalOrbit {
Period 0.2076
SemiMajorAxis 0.35
Eccentricity 0.28
LongOfPericenter 302.0
MeanLongitude 15.0
}

RotationPeriod 10.0
}

"Ergal" "79 Cet/Matholn"
{
Texture "moon.jpg"
Radius 1100.00

EllipticalOrbit {
Period 10.2536154
SemiMajorAxis 200000.00
Eccentricity 0.12
Inclination -4.0
}
}

"Marnia Ud Deskae" "79 Cet/Matholn/Ergal"
{
Class "spacecraft"
Mesh "iss.3ds"
Radius 4.2 # Station is about 8.4 km long

EllipticalOrbit {
Period 0.06415338
SemiMajorAxis 3600
Eccentricity 0.0000831
Inclination 51.6461
AscendingNode 83.8459
ArgOfPericenter 296.4901
MeanAnomaly 63.6005
}

Albedo 0.10
}

"Irilia" "79 Cet"
{
Texture "moon.bmp"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.5 0.5 0.55 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 5875

Atmosphere {
Height 60
Lower [ 0.5 0.5 0.65 ]
Upper [ 0.3 0.3 0.6 ]
Sky [ 0.3 0.6 0.9 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.png"
}
------------ End of code


Thanks in advance,

@+
Benoit 'Mutos' ROBIN
http://spacesims.hoshikaze.net

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

Post #2by selden » 22.09.2002, 13:46

Both 1.2.4 and 1.2.5pre3 have the problem. Both show the satellite at the same level in the heirarchy as the moon.

The same problem is seen when using the Apollo 11 ssc which orbits the Earth's moon.
Selden

Topic author
Mutos
Posts: 75
Joined: 15.07.2002
With us: 22 years 4 months
Location: France

Post #3by Mutos » 22.09.2002, 20:34

Hi everybody,


Thanks Selden for ur having tested it. So we'll have to live w/ this. At least it's good to know it's not a problem w/ my code.

I keep building my Drom system & I'll post the pics on the Hoshikaze site asap. Hope it'll not be in weeks 'cause my work is very time-consuming these days ^-^


@+
Benoit 'Mutos' ROBIN

http://spacesims.hoshikaze.net

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #4by chris » 22.09.2002, 21:06

I just found and fixed the bug in the Solar System browser. Now the tree in the solar system browser can be arbitrarily deep, and Apollo 11 is a child of the Moon instead of the Earth. I plan on putting out another prerelease today which will have this and other fixes.

--Chris

Topic author
Mutos
Posts: 75
Joined: 15.07.2002
With us: 22 years 4 months
Location: France

Post #5by Mutos » 23.09.2002, 04:27

Hi everybody,


Thanks a lot Mr Wizard Chris !


@+
Benoit 'Mutos' ROBIN

http://spacesims.hoshikaze.net


Return to “Development”