Eclipse finder fails if "invisible" class definitions are us
Posted: 12.01.2011, 21:14
by DOJOMO
If "invisible" class definitions are used in ssc files for objects on or spacecraft orbiting a planet then the eclipse finder, in lunar mode, enters an endless loop and celestia has to aborted. It is not clear but "component" class may exhibit the same problem.
Celestia 1.6.0. and svn variarions up to 5063 (new stars and orbit render)
Regards, David.
Re: Eclipse finder fails if "invisible" class definitions ar
Posted: 12.01.2011, 21:50
by selden
Here's an SSC to demonstrate the problem.
Code: Select all
# This SSC demonstrates a bug in Celestia's Eclipse Finder
# when Class "invisible" or Class "component" is specified
# the Lunar Eclipse Finder hangs (or goes into an infinite loop, perhaps)
# The Lunar Eclipse Finder also hangs if no Class is specified for a
# SurfaceObject.
# When both Class statements are replaced by Class "spacecraft",
# the Lunar Eclipse Finder works fine.
SurfaceObject "efb1" "Sol/Earth"
{
# Class "invisible"
Class "spacecraft"
Radius 0.0125
Color [ 0 1 0 ]
FixedPosition { Planetographic [ -107.6177275 34.0787492 2.124]}
FixedRotation {}
}
SurfaceObject "efb2" "Sol/Earth"
{
# Class "component"
Class "spacecraft"
Radius 0.0125
Color [ 1 0 0 ]
FixedPosition { Planetographic [ -107.6177275 34.0787492 2.15]}
FixedRotation {}
}
Re: Eclipse finder fails if "invisible" class definitions ar
Posted: 13.01.2011, 12:56
by DOJOMO
Thanks for the clearer explanation.
Regards, David