Lua Edu Tools beta version

Discuss Celestia's features, adaptations and Addons for use in educational environments
Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 3 months
Location: Montreal

Post #241by Cham » 15.11.2007, 00:52

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


Yes. IT IS a flight simulator. No doubt about it. This is actually one reason why I designed some huge "cylindrical Cyl spaceships", with trenches full of details, so I could navigate in them like in Star Wars ! :mrgreen: I always though this was all pretty standard in Celestia, since I knew this (and used it) since a long time already. It's usefull to inspect models too.
Last edited by Cham on 15.11.2007, 00:59, edited 2 times in total.
"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!"

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

Post #242by chris » 15.11.2007, 00:52

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


Yes, that's what I implemented. That's how I navigate when I use free-flight mode.

--Chris

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

Post #243by ElChristou » 15.11.2007, 00:59

Well, I really need to trash my laptop!
Hey Vince, now your Pad is just good for laptop! :roll:
Image

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 6 months
Location: Manassas, VA

Post #244by fsgregs » 21.11.2007, 02:00

Vincent:

Just tried out your latest update of the tools. They are NICE!

Two quick points ....

1. The distance boxes seem to be brighter than they used to be. Now, they look bright yellow rather than a subtle yellow. Is there a way for me to edit the Distance.lua file and dim down the brightness and color of the boxes? A pale amber would be better than the brighter yellow now.

2. You may want to remind folks that the speed with which your virtual joystick moves the screen can be changed in the main celestia.cfg file. Just locate the line that reads, "RotateAcceleration 120.0", and change it to a lower number. I like "RotateAcceleration 40.0". It swings the scene a modest amount.

Thanks for all you do!

Frank

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

Post #245by Vincent » 21.11.2007, 07:06

fsgregs wrote:Just tried out your latest update of the tools. They are NICE!
Thanks Frank.

fsgregs wrote:1. The distance boxes seem to be brighter than they used to be. Now, they look bright yellow rather than a subtle yellow. Is there a way for me to edit the Distance.lua file and dim down the brightness and color of the boxes? A pale amber would be better than the brighter yellow now.
You may want to have a look at the config.lua file. There, you can set the colors of all elements in the Lua UI. You can also define lots of other configuration parameters according to your specific needs.

fsgregs wrote:2. You may want to remind folks that the speed with which your virtual joystick moves the screen can be changed in the main celestia.cfg file. Just locate the line that reads, "RotateAcceleration 120.0", and change it to a lower number. I like "RotateAcceleration 40.0". It swings the scene a modest amount.

Here again, the config.lua file lets you define the specific rotation speed of the virtual pad. This can be used on top of the "RotateAcceleration" setting for a fine tuning.
@+
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 3 months
Location: Nancy, France

Post #246by Vincent » 29.12.2007, 11:29

29/12/2007 UPDATE :
- Added transparency and line smoothing to distance markers.
- Removed RA/Dec display -- I've added it in the Celestia standard overlay.
- Improved the text layout -- "sans10.txf" is now used as smallfont.
- Optimized the coding of the compass.

Please use Celestia 1.5pre5 to enjoy the latest added features:
http://celestiaproject.net/forum/viewtopic.php?t=11807
Last edited by Vincent on 29.12.2007, 13:24, 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 2 months

Post #247by ElChristou » 29.12.2007, 13:16

Nice!
Image

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 21 years 2 months

Post #248by Adirondack » 30.12.2007, 01:45

Vincent wrote:- Removed RA/Dec display -- I've added it in the Celestia standard overlay.

Vincent,

why did you do that?

The Lua Edu Tools used a geocentric coordinate system and the
Celestia standard overlay (1.5.0pre5) uses a coordinate system
centered on the observer's position.
That is a difference, that should be retained.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

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

Post #249by Vincent » 30.12.2007, 10:49

Adirondack wrote:The Lua Edu Tools used a geocentric coordinate system and the Celestia standard overlay (1.5.0pre5) uses a coordinate system centered on the observer's position.

Ulrich,

That's true. The decision to compute RA/Dec using an observer centered coordinate system was mainly made for the following reason: using a geocentric coordinate system, RA/Dec values didn't correctly match the position of objects against the celestial grid. That was particularly noticeable when observing low-orbit satellites from the surface of Earth, or when going to a very distant star.

Do you have situations where the use of a geocentric coordinate system is specifically required ?
@+
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

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 21 years 2 months

Post #250by Adirondack » 30.12.2007, 15:15

Vincent wrote:Do you have situations where the use of a geocentric coordinate system is specifically required ?

Well, let's take Regulus (10h08m22.3s / +11?°58'02") for example.
When you are hovering near the Earth and select Regulus everything is fine:
Celestia standard overlay: Rec 10h08m22.5s / Dec 11?°58'1.9"
Lua Edu Tools: Rec 152.09?° (=~10h08m22.5s) / Dec 11.97?° (=~11?°58'1.9")

When you 'goto' Regulus and changing the POV the values of the standard
overlay varies in respect of the observer's position (as intend).
But the values of the Edu Tools still remain the same, so you know the
geocentric coordinates even when you are far away from Earth.
I think this is a good feature, though the different units of measurement
are confusing. Maybe we should align the units of measurement to the
standard overlay.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)

The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

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

Post #251by Vincent » 30.12.2007, 20:57

Adirondack wrote:But the values of the Edu Tools still remain the same, so you know the geocentric coordinates even when you are far away from Earth.
I think this is a good feature, though the different units of measurement
are confusing. Maybe we should align the units of measurement to the
standard overlay.
I can add them back if you really find them useful, but I think we should keep them disabled by default. Then, displaying the geocentric RA/Dec values using the decimal format might help to easily distinguish them from the standard observer centered values:
RA: 10h 08m 22.5s
Dec: 11?° 58' 1.9"

Geocentric Coordinates:
RA: 152.09?° / Dec: 11.97?°
Dist. from Earth: xxxx ly


Are you OK with all this ?
@+
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

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 21 years 2 months

Post #252by Adirondack » 30.12.2007, 23:23

Vincent wrote:Are you OK with all this ?

Yep, Vincent, that sounds to me to be appropriate.
Though the decimal format is confusing for beginners since such coordinates in books and so on
are given in hours, minutes, seconds and degrees, min.- and sec.-degrees.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)

The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

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

Post #253by Vincent » 31.12.2007, 12:10

Adirondack wrote:Yep, Vincent, that sounds to me to be appropriate.
Though the decimal format is confusing for beginners since such coordinates in books and so on are given in hours, minutes, seconds and degrees, min.- and sec.-degrees.
One one hand, the decimal degree format is shorter, and this is the way stars and DSOs are defined in the Celestia data files:
70890 # Proxima Cen
{
RA 217.429167
Dec -62.679444
Distance 4.225

On the other hand, I agree that displaying RA in hours/minutes/seconds and Dec in degrees/min/sec is more consistent both from a scientifical and an educational point of view. Since we're talking about Educational tools, I think we can go on with the latter...
@+
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

Jedi
Posts: 13
Joined: 02.11.2006
With us: 18 years 5 months
Location: Tucson, Arizona USA

Post #254by Jedi » 04.01.2008, 00:54

As for the RA, I've always been partial to the hours/seconds/minutes format.

Either way, it's a good addition to the tools. I also particularly like the smoothlines on the distance markers. You can clearly see the difference in the two.

Image
May the FORCE BE WITH YOU

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

Post #255by Vincent » 04.01.2008, 10:07

Ken,

Does the Asteroid Belt on your shot use the script with markers I posted a while ago in the forum ? Or does it use point sprites rendering ? I think it would be a good addition to the tools. :)

Jedi wrote:As for the RA, I've always been partial to the hours/seconds/minutes format.

Either way, it's a good addition to the tools.

I'll upload soon a version with RA in hour/min/sec and Dec in deg/arc min/arc sec, both computed using the geocentric coordinate system.
@+
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 3 months
Location: Nancy, France

Post #256by Vincent » 04.01.2008, 15:23

I'm also thinking about replacing the timescale slider - which to me lacks in precision - with the kind of buttons that are used in Stellarium. Here's a shot of what I did so far:

Image
The buttons respectively correspond to:
reverse time; /10, /2; real time; x2; x10; current time

For some reason, the rendering of png files in the Lua Tools is not that good...

Please, let me know what you think about that. I can also send the files for testing...
@+
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

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 21 years 2 months

Post #257by Adirondack » 05.01.2008, 01:15

Vincent wrote:Please, let me know what you think about that.
Looks good to me.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)

The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

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

Post #258by Vincent » 07.01.2008, 20:24

06/01/2008 UPDATE :
- Replaced timescale slider with active buttons that respectively correspond to:
reverse time; /10, /2; real time; x2; x10; current time
Image

- Added back display of Geocentric coordinates:
Image


- Added Asteroid Main Belt rendering using point sprites cmod:
Image
@+
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

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 6 months

Post #259by BobHegwood » 08.01.2008, 13:25

Vincent,

For what it's worth, I personally VERY much like the rendering of the
asteroid belt via point sprites. Now that looks realistic to me.

Just my Brain-Dead opinion, though. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

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

Post #260by Vincent » 08.01.2008, 18:23

BobHegwood wrote:For what it's worth, I personally VERY much like the rendering of the
asteroid belt via point sprites. Now that looks realistic to me.

Bob,

Pleased you like it, thanks ! Actually, I made it using Cham's accretion disk method.
Have you noticed the difference in rotation speed between the inner and the outer
sections of the belt ? It is particularly well visible when timescale is set to 10^7...
@+
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


Return to “Celestia in Education”