Something wrong with constellation labels

Report bugs, bug fixes and workarounds here.
Topic author
Boux
Posts: 435
Joined: 25.08.2004
With us: 15 years
Location: Brittany, close to the Ocean

Something wrong with constellation labels

Post #1by Boux » 14.10.2009, 08:59

Hi there...
There may be a nasty bug with the placement of the constellation labels.

Here is a view with the correct labelling:

Image

When the view is rotated by more than 90 degrees here is what is happening (180 degrees rotation in this case):

Image

The bug shows up when the view is rotated more than 90 degrees.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #2by Cham » 14.10.2009, 10:07

I don't have this problem at all. Must be something on your system...
"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!"

Vincent
Posts: 1356
Joined: 07.01.2005
With us: 14 years 7 months
Location: Nancy, France

Re: Something wrong with constellation labels

Post #3by Vincent » 14.10.2009, 10:28

I can confirm that there's a bug with constellation labels on Windows.
It only concerns the main truck SVN version. The 1.6.1 branch version looks OK.

Constellation labels are displayed on and off when one rotates the view.
Here's a video that shows this issue: http://vincent.giangiulio.perso.sfr.fr/ ... on_bug.avi
@+
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
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #4by Cham » 14.10.2009, 10:33

Then this is a HUGE bug !

I never experienced it on a Mac yet.
"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!"

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 13 years 11 months
Location: Indiana, United States

Re: Something wrong with constellation labels

Post #5by Hungry4info » 14.10.2009, 11:37

I am unable to reproduce this on 1.6.0 on Windows Vista SP1.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Topic author
Boux
Posts: 435
Joined: 25.08.2004
With us: 15 years
Location: Brittany, close to the Ocean

Re: Something wrong with constellation labels

Post #6by Boux » 14.10.2009, 12:06

Forgot to specify that this is with a fresh build of svn trunk.
Standard 1.6 is OK though.
Really a very nasty bug.
Last night we had a really very clear sky here.
I brought a laptop and large marine binoculars out in the garden to show off relatives how Celestia was accurate.
Went to Earth surface, rotated the view and bang! Constellation labels all messed up 8O
--->insert sarcasms from the assistance here <---
By chance I had Stellarium too on that laptop.
What was intended to be a brilliant demo of Celestia turned into a convincing demo of Stellarium.
Bad luck :roll:
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu

Avatar
piellepi M
Posts: 124
Joined: 25.09.2003
Age: 63
With us: 15 years 11 months
Location: Rome, Italy

Re: Something wrong with constellation labels

Post #7by piellepi » 14.10.2009, 12:10

Hi Celestians!
I can confirm that I found this bug only in a compiled SVN version, NOT the official 1.6.0 version!
Perhaps there's something wrong in the new code in the SVN...
Ciao
Pierluigi

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #8by Cham » 14.10.2009, 15:23

Boux wrote:--->insert sarcasms from the assistance here <---
By chance I had Stellarium too on that laptop.
What was intended to be a brilliant demo of Celestia turned into a convincing demo of Stellarium.
Bad luck :roll:

This happens to me very frequently in the classroom ! I often need to show students something they are asking. I then try to show them some phenomenon with Celestia, ... and need to apologize because Celestia is doing something very wrong, or uncomplete, or too crudely, or too approximate, or simply because the computer (video card, memory management, OS version, etc) can't stand the graphical weight. My students are then responding some sarcasms about Celestia being a piece of crap ! :oops:

Demonstrations with Celestia may easily turn into a badly negative publicity against it. In some sense, Celestia is very "weak" and "fragile" on its educational side!

Celestia's interactivity in the classroom is really VERY different than at home. Especially since time is not managed the same way in a classroom than on a personal basis at home... 8O
"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!"

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

Re: Something wrong with constellation labels

Post #9by t00fri » 14.10.2009, 15:44

Clearly LATEST SVN builds are unsuited for doing classroom demonstrations!

As to the above constellation bug, for example, it was NOT present in the 1.6.0 release version... SVN code is REALLY raw development stuff.

Fridger
Image

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

Re: Something wrong with constellation labels

Post #10by chris » 16.10.2009, 08:59

Some serious UI work is definitely necessary to make Celestia better suited for the classroom. But, as Fridger pointed out, the SVN version is not recommended for classroom demonstrations.

Here's the fix for constellations. Change this line in labelConstellations:

Code: Select all

                if ((observer.getOrientationf().conjugate() * rpos).z() < 0)


to:

Code: Select all

                if ((observer.getOrientationf() * rpos).z() < 0)


This bug appeared during the conversion to Eigen--Celestia's custom vector library used row vectors, while Eigen uses column vectors, so a lot of products had to be reordered. Looks like I missed this case... I'm traveling right now, so I'm not sure when I can commit the fix. Vincent or Fridger: would you be able to take care of this?

--Chris

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #11by Cham » 16.10.2009, 11:29

chris wrote:But, as Fridger pointed out, the SVN version is not recommended for classroom demonstrations.

Well, obviously, I NEVER use a development version in the classroom (too risky). I was talking about 1.6.0...
"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!"

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

Re: Something wrong with constellation labels

Post #12by t00fri » 16.10.2009, 14:33

Cham wrote:
chris wrote:But, as Fridger pointed out, the SVN version is not recommended for classroom demonstrations.

Well, obviously, I NEVER use a development version in the classroom (too risky). I was talking about 1.6.0...

Yes, Boux used latest SVN, but you described a behaviour of the 1.6.0 released version that at least I cannot confirm at all:
Cham wrote:...need to apologize because Celestia is doing something very wrong, or uncomplete, or too crudely, or too approximate,

My students are then responding some sarcasms about Celestia being a piece of crap !

Celestia 1.6.0 is certainly accurate enough for class-room standards and certainly NOT a fragile piece of crap! Some limitations are natural or unavoidable and spotting them actually represents a good (astro)physics exercise for your students.

Fridger
Last edited by t00fri on 16.10.2009, 14:50, edited 1 time in total.
Image

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #13by Cham » 16.10.2009, 14:37

t00fri wrote: you described a behaviour of the 1.6.0 released version that at least I cannot confirtm at all:

This is because, obviousy, you DON'T teach with Celestia in a classroom. Or else, you'll know what I'm talking about. :roll:
"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!"

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

Re: Something wrong with constellation labels

Post #14by t00fri » 16.10.2009, 14:49

Cham wrote:
t00fri wrote: you described a behaviour of the 1.6.0 released version that at least I cannot confirtm at all:

This is because, obviousy, you DON'T teach with Celestia in a classroom. Or else, you'll know what I'm talking about. :roll:

Yet, I think you were vastly exaggerating. The accuracy, stability etc of software is not a matter of using it in a classroom or outside of it...

Fridger
Image

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: Something wrong with constellation labels

Post #15by Cham » 16.10.2009, 15:08

t00fri wrote:stability etc of software is not a matter of using it in a classroom or outside of it...

Of course it is ! The uses aren't exactly the same. Especially on a network of computers in a computer lab, where the students can do all sorts of "stupid" things while the teacher is elsewhere in the classroom. Unfortunately, Celestia isn't "idiot proof" yet.

Anyway, nevermind...
"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!"

Topic author
Boux
Posts: 435
Joined: 25.08.2004
With us: 15 years
Location: Brittany, close to the Ocean

Re: Something wrong with constellation labels [fixed]

Post #16by Boux » 16.10.2009, 15:22

chris wrote:Some serious UI work is definitely necessary to make Celestia better suited for the classroom. But, as Fridger pointed out, the SVN version is not recommended for classroom demonstrations.

Here's the fix for constellations. Change this line in labelConstellations:

Code: Select all

                if ((observer.getOrientationf().conjugate() * rpos).z() < 0)


to:

Code: Select all

                if ((observer.getOrientationf() * rpos).z() < 0)


This bug appeared during the conversion to Eigen--Celestia's custom vector library used row vectors, while Eigen uses column vectors, so a lot of products had to be reordered. Looks like I missed this case... I'm traveling right now, so I'm not sure when I can commit the fix. Vincent or Fridger: would you be able to take care of this?

--Chris


Thanks Chris, just rebuilt and the bug is gone.
Now I will be able to make a really brilliant demo of Celestia.
... which is vastly superior to a mere "convincing" presentation :wink:
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu

Vincent
Posts: 1356
Joined: 07.01.2005
With us: 14 years 7 months
Location: Nancy, France

Re: Something wrong with constellation labels

Post #17by Vincent » 16.10.2009, 15:31

chris wrote:Some serious UI work is definitely necessary to make Celestia better suited for the classroom. But, as Fridger pointed out, the SVN version is not recommended for classroom demonstrations.

Here's the fix for constellations. Change this line in labelConstellations:

Code: Select all

                if ((observer.getOrientationf().conjugate() * rpos).z() < 0)


to:

Code: Select all

                if ((observer.getOrientationf() * rpos).z() < 0)


This bug appeared during the conversion to Eigen--Celestia's custom vector library used row vectors, while Eigen uses column vectors, so a lot of products had to be reordered. Looks like I missed this case... I'm traveling right now, so I'm not sure when I can commit the fix. Vincent or Fridger: would you be able to take care of this?

Chris,

I've checked your fix in SVN [revision 4887].
Constellation labels look good on my system now.
Thanks.
Last edited by Vincent on 16.10.2009, 15:37, 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

Avatar
selden
Developer
Posts: 10067
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Re: Something wrong with constellation labels

Post #18by selden » 16.10.2009, 15:32

Cham,

If you want either Celestia or its ED version to be more "idiot proof", you'll have to provide specific examples of things that don't work well in your classroom.

It might be appropriate to start a new thread in the "Celestia in Education" forum for these issues.
Selden


Return to “Bugs”

Who is online

Users browsing this forum: 5 guests