Julian Date, Spectral type annotation added to OS X version

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Julian Date, Spectral type annotation added to OS X version

Post #1by dirkpitt » 16.12.2007, 17:02

I added a Julian Date setting to the OS X version. This allows you to set Celestia's time to a Julian Date (e.g., 2755511.5000). This option was also recently added to the Windows version.

It's not in CVS yet, but you can try it out in my unofficial build: Unofficial 2007-12-17 build

To test it, hit Cmd+T to pop up the Set Time panel. Entering a date like 12/17/2007 will cause the Julian date to update and vice versa. You can easily confirm that special Julian dates like "0" get you back the correct reference date 1/1/-4712, where the minus sign means "BCE". **

**this minus format is zero-based, so "-4712" means "4713 BCE". I'm following the Unicode Standard #35 which says "0" = 1 BCE.


Also by request from ElChristou, spectral types have been added to star names in the Browser. For example, Sol now reads "Sol (G2V)". However, I personally find that after having added the spectral type to all the names... it seems to make things more confusing and cluttered. I doubt that many people will look at codes like K2V, T6V, and DZ7, and instantly know what they mean. (ElChristou? Can you tell me what "DZ7" means? :wink:)
Last edited by dirkpitt on 16.12.2007, 18:03, edited 2 times in total.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #2by Cham » 16.12.2007, 17:48

Dirkpitt,

I tested your built, and I noticed two small "glitches" in the browser :

1- There's a star "family" (stars with planetary objects) for which the spectral class isn't shown the same way (fully black) as for the others (grayed). Do you confirm ?

2- For consistency, the Hubble class should also be shown for the galaxies.
"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
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Re: Julian Date, Spectral type annotation added to OS X vers

Post #3by Cham » 16.12.2007, 17:52

dirkpitt wrote:However, I personally find that after having added the spectral type to all the names... it seems to make things more confusing and cluttered. I doubt that many people will look at codes like K2V, T6V, and DZ7, and instantly know what they mean


I tend to agree with this view.
"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
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #4by dirkpitt » 16.12.2007, 18:07

I fixed a bug discovered by Cham in the Julian Date setting where BCE years were not being recognized in certain cases. Also, for consistency BCE years now follow Unicode #35 regardless of platform, so Julian Date = 0 is -4712 on both PPC and Intel Macs (although a bug remains where year 0 (1 BCE) is not working). Finally, a French translation for "Julian Date" has been added (thanks Cham)

The download link has been updated with the new build ("20071217p").
Last edited by dirkpitt on 16.12.2007, 18:19, edited 1 time in total.

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Re: Julian Date, Spectral type annotation added to OS X vers

Post #5by dirkpitt » 16.12.2007, 18:14

Regarding spectral type tags, I'm thinking I'll probably remove them since they're more clutter than I'd expected. Might there a way I could keep the tags, but improve the presentation? Color coding? Shorter labels?

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #6by Cham » 16.12.2007, 18:24

I think that showing the spectral classes (and Hubble type) is premature. It should be part of some search and filter option, which could be added later.

I agree with Da Woon that the browser is getting a bit confused and cluttered. I suggest to remove all the spectral classes, until we get some search and filter capabilities.

And how is it on the other platforms ? Do they have the spectral classes indicated in their browser ? If not, then for consistency, we shouldn't have the spectral classes indicated in the OS X browser.
"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
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #7by dirkpitt » 16.12.2007, 18:59

The KDE version's browser displays a lot of info.

While the effort to add spectral type tags was relatively minor, it unfortunately did not appear to offer any improvements in usability (to me at least). More substantial improvements, such as those offered by the KDE version's browser, are probably best deferred to the upcoming cross-platform UI.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #8by Cham » 16.12.2007, 19:04

Hmmm, definitely, the KDE version appears to be vastly superior.
"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!"

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: Julian Date, Spectral type annotation added to OS X vers

Post #9by rthorvald » 06.01.2008, 13:31

I added a Julian Date setting to the OS X version. This allows you to set Celestia's time to a Julian Date (e.g., 2755511.5000). This option was also recently added to the Windows versi


Dirkpitt,
This is a very nice function to have, but it only works one way: entering a gregorian date will show the julian, but entering a julian will either create a wildly wrong gregorian, or just a message that no date was entered. Haven??t found out yet why sometimes the one happens and why sometimes the other, but will watch it - as i use it all the time.

- rthorvald
Image

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #10by dirkpitt » 06.01.2008, 23:06

It should work both ways (Julian->Gregorian, Gregorian->Julian). Have you tried one of Steve Binder's builds (works for me)? Try entering the Julian as a number, e.g., 200000.

niceguy78
Posts: 1
Joined: 17.07.2008
With us: 16 years 4 months

Re: Julian Date, Spectral type annotation added to OS X version

Post #11by niceguy78 » 22.07.2008, 13:20

Have you tried one of Steve Binder's builds (works for me)? Try entering the Julian as a number, e.g., 200000.

Can you provide us a link to Steve Binder's builds, I’d like to see how it works.
Jack, you can find my website here

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Julian Date, Spectral type annotation added to OS X version

Post #12by ElChristou » 22.07.2008, 13:42

You should search for Steve's profile to find a link to his webpage...
Image


Return to “Ideas & News”