Lua Edu Tools beta version

Discuss Celestia's features, adaptations and Addons for use in educational environments
Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #221by Vincent » 31.08.2007, 12:00

ElChristou wrote::wink:, yep... but actually as there is no dev at all... I was thinking adding a hook should not be so problematic... :?

H?© h?©, maybe we could even catch a few devs with a nice big Hook... :wink:
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #222by Vincent » 02.09.2007, 17:13

Hi,

New update:
http://vincent.gian.club.fr/celestia/Lua_Edu_Tools.zip
- Added a Magnification option to the Tool box:
Image Image
Checking the Magnification box displays objects of our Solar System in magnified size. The class of objects to magnify and the magnification coefficients can be set in the config.lua file.
- The part of the distance-circle-markers that is behind an object isn't displayed anymore (Thanks to Jedi ! :) )
- Fixed a bug that prevented frames to be resized in multiple-view layer.

Windows users who don't compile Celestia from CVS must use the following executable to enjoy the magnification option:
http://vincent.gian.club.fr/celestia/ce ... .5_CVS.exe

Now, let's just wait for the release of Celestia 1.5 (or, at least, for 1.5pre4) to also release v1.0 of the Lua Edu Tools...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #223by Vincent » 19.09.2007, 13:48

UPDATE : added the following entries in the config file to enable/disable some specific features at start up:

Code: Select all

------------------------------------------------------------------------------
-- Define whether the features are enabled or not when Celestia starts.
------------------------------------------------------------------------------
enable_info = false
enable_measure = false
enable_magnification = false
enable_compass = false

------------------------------------------------------------------------------
-- Define the state of the distance check-box when Celestia starts.
-- Can take the following values:
--       0: distance markers are disabled;
--       1: display square distance markers only;
--       2: display circle distance markers only;
--      3: display both square and circle distance markers;
------------------------------------------------------------------------------
distance_state = 0
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #224by Vincent » 13.10.2007, 11:46

10/13/2007 UPDATE :
- Added distance circle-markers for small bodies (1m, 10m, 100m).
- Added a Galaxy Light Gain slider.

Windows users who don't compile Celestia from CVS should use the following
executable to enjoy the latest added features (built from the 10/13/07 CVS):
http://vincent.gian.club.fr/celestia/ce ... .5_CVS.exe
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #225by ElChristou » 13.10.2007, 12:27

Vincent wrote:10/13/2007 UPDATE :
- Added distance circle-markers for small bodies (1m, 10m, 100m).
- Added a Galaxy Light Gain slider.


Tx! :wink:
Image

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #226by Vincent » 13.10.2007, 13:41

ElChristou wrote:
Vincent wrote:10/13/2007 UPDATE :
- Added distance circle-markers for small bodies (1m, 10m, 100m).
- Added a Galaxy Light Gain slider.

Tx! :wink:


Thanks to you Chris. Both adds are from ideas of yours... :wink:
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #227by ElChristou » 13.10.2007, 14:16

Hey, if only I had those coding skills I could help a bit more but I cannot. So ideas is the only thing I can find... :?

Nevertheless after 1.5 I will try to collaborate a bit more...
Image

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #228by Vincent » 30.10.2007, 18:47

30/10/2007 UPDATE :
- Added a fade in/out effect to the U.I. when it is enabled/disabled using [shift]+[I].
- Added Anti-Aliasing to the distance markers.

http://vincent.gian.club.fr/celestia/Lua_Edu_Tools.zip
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #229by Vincent » 07.11.2007, 10:40

07/11/2007 UPDATE :
- Added the possibility to enable/disable the Lua Edu Tools by clicking on the right hand side of the toolbox (handier than using [shift]+[I]).
- Fixed the brief uggly appeareance of some windows when they were opened for the first time.
- Automatically switch the compass position to the bottom center of the screen when the screen height doesn't allow displaying it under the toolbox.
- Improved the text layout and made the Tools use the "sans12.txf" and "sansbold20.txf" fonts whatever the font definition in celestia.cfg. If "sans12.txf" and "sansbold20.txf" can't be found, the fonts defined in celestia.cfg will be used, though.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #230by Vincent » 14.11.2007, 21:30

14/11/2007 UPDATE:

- New visual style for sliders:
    Image
- New "Visual Pad" feature for an easy control of pitch and yaw motion:
    Image
Last edited by Vincent on 14.11.2007, 21:56, edited 1 time in total.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #231by ElChristou » 14.11.2007, 21:40

Vincent wrote:- New "Visual Pad" feature for an easy control of pitch and yaw motion:...


This feature is EXCELLENT! A great addition for people who don't use joystick...
Image

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #232by Vincent » 14.11.2007, 22:11

ElChristou wrote:This feature is EXCELLENT! A great addition for people who don't use joystick...

Thanks Chris.
But are there people who use a joystick here ? :wink:
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #233by ElChristou » 14.11.2007, 23:02

Vincent wrote:
ElChristou wrote:This feature is EXCELLENT! A great addition for people who don't use joystick...
Thanks Chris.
But are there people who use a joystick here ? :wink:


What is new with this virtual pad is that for the first time within Celestia, the camera and the direction of translation are locked, just like a flight simulator...

Approaching and flying through Saturn's ring is just GREAT using this pad!! (All bodies approach are much natural and intuitive... very nice for pupils)
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 1 month
Location: Montreal

Post #234by Cham » 14.11.2007, 23:43

I don't understand the uses of this virtual trackpad. Apparently, I can do the same (with even better control) with my number keypad, on my keyboard. What's the difference ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #235by ElChristou » 15.11.2007, 00:20

Cham wrote:I don't understand the uses of this virtual trackpad. Apparently, I can do the same (with even better control) with my number keypad, on my keyboard. What's the difference ?


Hue?? Can the change of viewpoint also change the direction of translation in realtime using the keyboard? Perso to change the direction of translation I need to change the speed (a or z) else I keep the same trajectory and only change my viewpoint using the keyboard arrows...
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 1 month
Location: Montreal

Post #236by Cham » 15.11.2007, 00:24

ElChristou wrote:Hue?? Can the change of viewpoint also change the direction of translation in realtime using the keyboard? Perso to change the direction of translation I need to change the speed (a or z) else I keep the same trajectory and only change my viewpoint using the keyboard arrows...


As far as I remember, I always was able to navigate like in a flight simulator, using the numbers keypad, on the right of my extended keyboard. Not you ? The arrows aren't behaving the same.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #237by ElChristou » 15.11.2007, 00:36

Cham wrote:
ElChristou wrote:Hue?? Can the change of viewpoint also change the direction of translation in realtime using the keyboard? Perso to change the direction of translation I need to change the speed (a or z) else I keep the same trajectory and only change my viewpoint using the keyboard arrows...

As far as I remember, I always was able to navigate like in a flight simulator, using the numbers keypad, on the right of my extended keyboard. Not you ? The arrows aren't behaving the same.


Nope... if you got a speed x (targeting the center of the screen as always), press let's say the right arrow, then you change both the camera viewpoint AND the traveling direction (to the right)?? (and this without changing the speed?)
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #238by ElChristou » 15.11.2007, 00:38

Cham wrote:...The arrows aren't behaving the same.


What do you mean?
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 1 month
Location: Montreal

Post #239by Cham » 15.11.2007, 00:41

ElChristou wrote:Nope... if you got a speed x (targeting the center of the screen as always), press let's say the right arrow, then you change both the camera viewpoint AND the traveling direction (to the right)?? (and this without changing the speed?)


Not with the arrows (they are pretty useless to me). Using the numbers keypad let me navigate freely, without changing the velocity. The motion is always in the same direction as the camera's orientation. It was always like this on my system.

Don't you have a numeric keypad ? I guess not, if you're only using a portable.

The arrows are most probably working like you. They change the viewpoint without changing the sense of motion.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #240by ElChristou » 15.11.2007, 00:48

Cham wrote:
ElChristou wrote:Nope... if you got a speed x (targeting the center of the screen as always), press let's say the right arrow, then you change both the camera viewpoint AND the traveling direction (to the right)?? (and this without changing the speed?)

Not with the arrows (they are pretty useless to me). Using the numbers keypad let me navigate freely, without changing the velocity. The motion is always in the same direction as the camera's orientation. It always was like this on my system.

Don't you have a numeric keypad ? I guess not, if you're only using a portable.


OUAHHH... I cannot believe this! No number pad on my laptop of course, but what is incredible is that since I'm here, many newbies ask about the behavior of the motion vs viewpoint, and the answer by many as always been the same: the only way to change the direction of motion is to change the speed! That's crazy!

So you confirm the number pad change both viewpoint and direction just like a flight simulator?
Image


Return to “Celestia in Education”