Page 1 of 1

Compass for Celestia 1.6

Posted: 29.11.2009, 14:28
by Vincent
HOW TO INSTALL THE COMPASS ?
1- Unzip the 'compass.zip' package in your 'celestia/' base directory.
    - The 'compass/' dir should go into your 'extras/' dir
    - The 'luahookinit.lua' file should go into your 'celestia/' base dir

2- Add this line to your celestia.cfg file :
Configuration
{
LuaHook "luahookinit.lua" # <-- Line to add
...
HOW TO USE THE COMPASS ?
- The compass, azimuth and elevation are automatically displayed when the observer goes
onto the surface of a planet using the [Ctrl] + [G] keys.
- The longitude and latitude coordinates are displayed for planets (+ Pluto) and planets major moon only,
when the observer is at a distance of 10 times the radius of the reference object or closer.
As to locations and spacecraft, the long/lat values displayed are those of the parent body.
- The display of the celestial coordinates for the current selection can be enabled / disabled using [Ctrl] + [a].
(This feature is only available in the English version with celestial coordinates.)

DOWNLOAD LINKS:
- Compass for Celestia 1.6 (English version):
http://vincent.giangiulio.perso.sfr.fr/ ... ompass.zip
- Compass for Celestia 1.6 (French version):
http://vincent.giangiulio.perso.sfr.fr/ ... ussole.zip
- Compass for Celestia 1.6 + celestial coordinates (English version):
http://vincent.giangiulio.perso.sfr.fr/ ... inates.zip

Enjoy! :)

Re: Compass for Celestia 1.6

Posted: 29.11.2009, 14:39
by Boux
Thanks for this nice add-on.
I use it all the time :D

Re: Compass for Celestia 1.6

Posted: 29.11.2009, 14:48
by Vincent
Boux wrote:Thanks for this nice add-on.
I use it all the time :D
Boux,

You're very welcome! :)
Happy you find it useful.
Please let me know whether it runs fine on your system.

Re: Compass for Celestia 1.6

Posted: 29.11.2009, 19:08
by Boux
Vincent wrote:
Boux wrote:Thanks for this nice add-on.
I use it all the time :D
Boux,

You're very welcome! :)
Happy you find it useful.
Please let me know whether it runs fine on your system.

No problem here, Vista 64 and a heavily customized Celestia source code.
My main problem is to keep my own version in phase with the svn updates without making a mess out of it :lol:
Glew and Eigen were a nightmare at some point. But now I think I am in control.
Take care :wink:

Re: Compass for Celestia 1.6

Posted: 29.11.2009, 19:38
by t00fri
Vincent,

nasty little question:

what does your nice compass say if you are getting VERY close to the (magnetic) North pole??
I guess, of course, that your compass just renders the equatorial coordinates and doesn't care about differences of magnetic and true North etc...

Fridger

Re: Compass for Celestia 1.6

Posted: 29.11.2009, 20:21
by Vincent
t00fri wrote:Vincent,

nasty little question:

what does your nice compass say if you are getting VERY close to the (magnetic) North pole??
I guess, of course, that your compass just renders the equatorial coordinates and doesn't care about differences of magnetic and true North etc...
Fridger,

Well guessed!
The compass of course points to the geographic north. Integrating the magnetic declination would be quite easy,
but we would need to add the magnetic declination value for every object... And we don't even know these
datas for extrasolar planets. Also, a magnetic compass would be quite useless to give the observer a correct
orientation in Celestia.

Besides, I took care of adding a special case when the observer is precisely located at one geographic pole.
If anybody wants to checking this out, well just download and test... :wink:

Re: Compass for Celestia 1.6

Posted: 30.11.2009, 17:00
by jogad
Hello,

Is this a test for a new version of the compass in lua_edu_tools?
It will be great. :D
Because this addon prevents Lua_Edu_Tools to work. Very bad joke! :evil:

Re: Compass for Celestia 1.6

Posted: 30.11.2009, 17:39
by Vincent
jogad wrote:Is this a test for a new version of the compass in lua_edu_tools?
It will be great. :D
Because this addon prevents Lua_Edu_Tools to work. Very bad joke! :evil:

Jo?l,

The idea here was to extract the compass from the Lua Edu Tools so as to make it a simplier addon.
I've made this for people who don't need all the Lua Edu Tools stuff, or simply don't want to bother with it.

Of course, all the recent improvements made to this compass have been also applied to the Lua Edu Tools compass,
and will be available in the next release that will come quite shortly. So you shouldn't need to install this version if you're
already using the Lua Tools. Both can't run simultaneously since only one Lua Hook process can be called at a time.

Re: Compass for Celestia 1.6

Posted: 30.11.2009, 17:42
by Vincent
Boux wrote:No problem here, Vista 64 and a heavily customized Celestia source code.
Boux,

This is great, thanks!