Eclipse Finder... !

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Kendrix
Posts: 159
Joined: 02.06.2002
With us: 22 years 8 months
Location: near Paris, France
Contact:

Eclipse Finder... !

Post #1by Kendrix » 20.06.2002, 20:41

Hi there !

I have integrated an eclipse finder (only for solar eclipses for the moment) for the planets : Earth, Jupiter, Saturn, Uranus, Neptune and Pluto.

It works great ! You can even find double eclipses with it !

I have send the code to Chris and he told me he will try to put it in the next release...

If anyone want my .exe just send me an email : kendrix@wanadoo.fr

By the way, how to post pictures in this forum !?

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 23 years
Location: Altair

Post #2by Rassilon » 20.06.2002, 20:56

Host them on a site that allows remote links and use the YaBB [img] tag...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

Topic author
Kendrix
Posts: 159
Joined: 02.06.2002
With us: 22 years 8 months
Location: near Paris, France
Contact:

OK !

Post #3by Kendrix » 20.06.2002, 21:38

Ok but do you know a hoster that accepts remote links ???

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

Post #4by chris » 20.06.2002, 22:23

I haven't been able to try out the eclipse finder myself yet (still at work), but the screenshots are very cool.

Kendrix, I'll post them tonight on the forum . . .

--Chris

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 23 years
Location: Altair

OK !

Post #5by Rassilon » 21.06.2002, 02:44

Kendrix wrote:Ok but do you know a hoster that accepts remote links ???


Most are picky about that very thing...I use http://www.freewebspace.com personally but your best researching this to find the site that best suits you...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

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

Post #6by chris » 21.06.2002, 16:24

From Kendrix's eclipse finder:

Image

Double eclipse on Saturn:
http://www.shatters.net/~claurel/pics/shot2.jpg

--Chris

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #7by t00fri » 21.06.2002, 17:05

chris wrote:From Kendrix's eclipse finder:

--Chris


@Chris: I suppose you have so far incorporated the finder /only/ into winmain.cpp?

What about Linux?: Is ist just the GUI part that has to be adapted to gtk+ or more?

Bye Fridger

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

Post #8by chris » 21.06.2002, 18:37

t00fri wrote:@Chris: I suppose you have so far incorporated the finder /only/ into winmain.cpp?

What about Linux?: Is ist just the GUI part that has to be adapted to gtk+ or more?

Bye Fridger

I haven't incorporated the code yet, but I'll make sure to separate the eclipse calculation code from the GUI so that porting is as easy as possible.

--Chris

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #9by t00fri » 21.06.2002, 18:53

chris wrote:
t00fri wrote:@Chris: I suppose you have so far incorporated the finder /only/ into winmain.cpp?

What about Linux?: Is ist just the GUI part that has to be adapted to gtk+ or more?

Bye Fridger
I haven't incorporated the code yet, but I'll make sure to separate the eclipse calculation code from the GUI so that porting is as easy as possible.

--Chris


very good...

@Kendrix, @Chris: Since I have not yet seen the eclipse search algorithm myself, a simple question just to be sure: The algorithm is not "borrowed" from XEphem?

Bye Fridger

Topic author
Kendrix
Posts: 159
Joined: 02.06.2002
With us: 22 years 8 months
Location: near Paris, France
Contact:

No !

Post #10by Kendrix » 21.06.2002, 20:25

I have just used the same algorithm that yours for the shadows !

I check every hour for every sattelite of the concerned planet !

It's simple as this !
And quite fast enough (and really precise)

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

No !

Post #11by t00fri » 21.06.2002, 21:46

Kendrix wrote:I have just used the same algorithm that yours for the shadows !

I check every hour for every sattelite of the concerned planet !

It's simple as this !
And quite fast enough (and really precise)


Aha, that's fine. In XEphem the code is much more complex, since the exact path of the eclipse shadow is traced as function of time...

Bye Fridger


Return to “Development”