Eclipse Finder locks-up

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Eclipse Finder locks-up

Post #1by DOJOMO » 10.01.2011, 11:39

I have noticed that eclipse finder when set to lunar locks-up when certain addons are included in the extras folder. The addons are all superb. The Hale telescope, DSS-24 "paper" radio telescope and the v large ISS model. I think the latter is a special case caused by me.
Very tentatively I think the reason is the use of the "component" definition in the ssc files. Is each "component" being seen as a moom? Possibly switching to "spacecraft" may eliminate the problem. I haven't tried this yet.
I had previously changed the ISS ssc's definitions from "spacecraft" to "component" to remove the "glow" effect. I am possibly utterly wrong about this but any solution would be gratefully received as these models are great favourites of my grandchildren.
This issue seems to happen in all versions of 1.6.0.
Regards, David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #2by DOJOMO » 11.01.2011, 12:36

I have since tried out what happens when changing the ssc's definition of component to spacecraft. I suggested this in my first post. The answer is nothing i.e. the problem remains.

Regards David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #3by DOJOMO » 12.01.2011, 11:02

Apologies for wittering on and having a conversation with myself but I think I have been able to see what the problem is. It is the use of the "invisible " Class for a body on or orbiting a planet. The invisible class seems to define the body as an eclipsing type as well.
This is interpreted by the eclipse finder and gives a wacky result or it locks-up.
I tested this using Selden's Paper radio teleecope. Changing the single reference of Class "invisible" to say "spacecraft" corrects the problem with the eclipse finder. Unfortunately the telescope is somewhat damaged.
Is this a bug?
Regards, David
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

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

Re: Eclipse Finder locks-up

Post #4by selden » 12.01.2011, 15:08

I think that Class "invisible" causing problems for the eclipse finder is a bug.

In order to minimize the damage to the Addon, you can try reducing the radius in the SurfaceObject definition:

Code: Select all

SurfaceObject "vla-00" "Sol/Earth"
{
#   Class "invisible"
   Radius   0.0001 # was 0.0125

    FixedPosition { Planetographic [ -107.6177275  34.0787492  2.124]}
   FixedRotation {}
}
Selden

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #5by DOJOMO » 12.01.2011, 16:46

Thanks Selden. I will try your suggestion again as it didn't work with ssc file that I have. Perhaps I have an outdated version as the original radius is .04 and the object is defined as "dss-24" "Sol/Earth".
Amending your superb Hale telescope and the ISS will, for me prove a bit of a task.
I will post this as a bug. after I get your solution to succeed.

Regards, David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

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

Re: Eclipse Finder locks-up

Post #6by selden » 12.01.2011, 16:56

oops. Sorry. I did two radio telescopes recently and confused the two. Still, the principle is the same: make the radius of the reference object tiny so that it's hidden within the model's axis.

Which version of the Hale Telescope are you using? I think V1 should be straight forward, similar to the radio telescope. V2 would be difficult, and V3 impossible :(
Selden

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #7by DOJOMO » 12.01.2011, 18:24

Selden, I can't yet get your solution to work for the "Paper Telescope" but I will keep trying and come back to you when I do. I have ver 3 of your Hale telescope installed.

Many thanks for your help, David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #8by DOJOMO » 12.01.2011, 20:53

Selden, I have got your solution to work but it has thrown up another aspect. This is what I did:-
I substituted both "invisible" and "component" class definitions with a "spacecraft " class. As you suggested I decreased the radius to .0001. The telescope displays ok and the eclipse finder works correctly.
This seems to imply that both "invisible" and "component" classes exhibit the same bug effect on the eclipse finder.
I think I am way out of my depth here and no longer sure that I have found the true cause. Rather than waste your time on this I will report it as a bug. I will twiddle with it for a bit.

As always many many thanks, regards David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

Topic author
DOJOMO
Posts: 49
Joined: 10.08.2005
With us: 19 years 3 months

Re: Eclipse Finder locks-up

Post #9by DOJOMO » 13.01.2011, 21:49

In the first post of this thread I included in the addons that cause the eclipse finder to fail linuxmans wonderful ISS model. Apologies, as this is not correct. The distributed version does not cause this to happen and everything works ok. The reason my version caused the failure was that I had altered all the "spacecraft" class to "component" class. This caused the failure.
I made the change to remove the glowing blobs that demark spacecraft in celestia and occur a number of times on the ISS model. I have now reverted to the distributed version.
Many apologies, David.
Celestia svn 5178
Sony Vaio VPCF12c5E laptop Intel(R) Core(TM) i5 CPU M 450 @ 2.4GHz, 500gb hard drive, 1Gb nvidea GeForce GT 330M GPU Open GL 2.0, Windows 7 Professional 64 bit. Fully updated.

Avatar
Marco Klunder
Posts: 181
Joined: 20.02.2008
Age: 62
With us: 16 years 9 months
Location: The Netherlands

Re: Eclipse Finder locks-up

Post #10by Marco Klunder » 17.06.2011, 19:58

Well, I seem to have the same problem here.

I just released the new "Moon Phenomena v2.0" script for Celestia v1.6.1 and after the real Lunar Eclipse two days ago, my daughter asked me when the next one will occor. No problem, I thought as a Celestian :idea: :?
But starting-up Celestia and running the Lunar Eclipse Finder for Earth also caused this hang-up.
Then I was triggered by this thread.

You guys talk about "invisible" and "component" classes exhibit the bug effect on the eclipse finder.
Here is the SSC file I use for the compass cmod, used by the script:

Code: Select all

SurfaceObject "compass_MFK_EN" "Sol/Earth"
{
   Class "surfacefeature"
   Emissive true
   Visible true
   
   Mesh "compass_MFK_EN.cmod"
   Orientation [90 1 0 0]
   Radius 0.155

   FixedPosition {Planetographic [ 4.89358 52.38449 0.2075 ]}
   FixedRotation {}

}


In the above code, replacing "surfacefeature" by "spacecraft" seem to circumvent the problem with Eclips Finder and the script still runs fine...

Besides V1.6.1. I've also SVN running with the same problem on board.
Is the Eclips Finder problem as mentioned in this thread already reported as a (possible) Celestia bug to the development team?

I'll continue testing on this (temporary) solution for the "Moon Phenomena" script and when no further issues occur on this one, I'll soon release "Moon Phenomena v2.1" to circumvent the problem...

Marco
Marco Klunder
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: Eclipse Finder locks-up

Post #11by Fenerit » 17.06.2011, 23:43

Hi! SurfaceObject has the class "surfacefeature" as default. If I completely remove the directive, with the Marco's add-on, the eclipse finder sometime works sometime not, instead of not working at all. :roll: Even for me changing the class as "spacecraft" works fine. Maybe this kind of class is most powerful, that is, it does wipe out and supersede "minor" classes?
Never at rest.
Massimo


Return to “Help Central”