New Star Map (21 nearer stars from Sol)

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

New Star Map (21 nearer stars from Sol)

Post #1by Cham » 17.12.2009, 22:13

I'm working on a new addon to help visualize the vicinity of our solar system : a 3D map of the closest stars from Sol. The first part of the blue lines are in the equatorial plane (I'll add a complete polar grid later). Here's a preview (the label color is temporary). Of course, the model is fully 3 dimensional and it's fun to move around :

Image

The end result should look like this :

Image
Last edited by Cham on 17.12.2009, 23:30, edited 1 time 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!"

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

Re: New star map (nearer stars from Sol)

Post #2by Cham » 17.12.2009, 22:52

Here's the equatorial grid added. I just need to finish the toggle CELX script and to adjust the colors...

The polar grid has a radius of 10 LY, and the 21 closest stars are labeled (distance < 12 LY).

Image

From now on, I'll publish my addons only if there are some interested people. I'm tired to talk to a wall on this forum. :x
"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
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Re: New Star Map (21 nearer stars from Sol)

Post #3by Cham » 17.12.2009, 23:58

The addon is already finished 8)

Image

Image
"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!"

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: New Star Map (21 nearer stars from Sol)

Post #4by Reiko » 18.12.2009, 03:33

Cool!!! I always wanted something like this for celestia! :blue: :blue:

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

Re: New Star Map (21 nearer stars from Sol)

Post #5by Hungry4info » 18.12.2009, 07:00

Definitely! Being able to rotate the thing around and see the graphic is something one can't do with images of the same thing.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: New Star Map (21 nearer stars from Sol)

Post #6by Fenerit » 18.12.2009, 08:33

Publish, publish... :wink:
Never at rest.
Massimo

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

Re: New Star Map (21 nearer stars from Sol)

Post #7by Cham » 18.12.2009, 12:06

It's now on my addons topic :

viewtopic.php?f=23&t=15543

Please, test and report.
"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!"

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: New Star Map (21 nearer stars from Sol)

Post #8by duds26 » 18.12.2009, 15:33

Fantastic addon, really like the grid.
One question though, could you give the lines that connect the place where the stars are with the center of the grid in another color.
It would be handy to see this.

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: New Star Map (21 nearer stars from Sol)

Post #9by duds26 » 18.12.2009, 15:39

Can you also make one with the solar system instead?

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: New Star Map (21 nearer stars from Sol)

Post #10by Chuft-Captain » 18.12.2009, 16:21

FIRST TEST.

Unable to select some stars (looks like about 1/2 of them) with the mouse.

eg. Can't select:
    Barnards Star
    Gliese 15
    Gliese 725
    Lalande 21185
    CN Leo
    Ross 128

Can select:
    Rigel Cen
    Procyon
    eps Eri
    Sirius
    Procyon
    Gliese 820
    Gliese 71
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

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

Re: New Star Map (21 nearer stars from Sol)

Post #11by Cham » 18.12.2009, 16:25

After playing with the addon for some moments, I think I'll turn it into a "multi-layer" (instead of a simple "layer"), by adding more stars up to 15 LY (instead of 12 LY). The ~41 stars in the range 12 LY < distance < 15 LY are getting in the way though, so I'll use a stronger transparency for their lines and labels, and the toggle script will use three states (Off, ON 1 for distance < 12 LY, and ON 2 for distance < 15 LY).

So expect an update later today or tomorrow.

EDIT : Chuft-Captain, your problem has nothing to do with the addon itself. It's just a matter of distance and size of the star... However, having clickable labels would be a great feature in Celestia.
"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!"

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: New Star Map (21 nearer stars from Sol)

Post #12by Reiko » 19.12.2009, 01:09

Works great! I love it. :blue:

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

Re: New Star Map (21 nearer stars from Sol)

Post #13by Cham » 19.12.2009, 04:50

I published a second version, with more stars (up to 15 LY). I also added a symbol to indicate the binary systems (circle with a dot inside). The addon is now a 3 states multi-layer. As usual, use the same script several times to toggle the layers one by one. How is it working on your system ?

And what do you think about the circle symbol ? I was also thinking about using a large dot for the binaries, and a smaller dot for the single stars, but I'm not sure.

Preview :
Image
"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
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: New Star Map (21 nearer stars from Sol)

Post #14by Fenerit » 19.12.2009, 10:30

...and what about to colorize the "balls" accordingly with the star class? Anyhow FYI it work fine on my system; I recognize the behaviour found by Chuft but must be due to the faintest of stars.
Never at rest.
Massimo

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

Re: New Star Map (21 nearer stars from Sol)

Post #15by Cham » 19.12.2009, 16:19

Fenerit wrote:...and what about to colorize the "balls" accordingly with the star class? Anyhow FYI it work fine on my system; I recognize the behaviour found by Chuft but must be due to the faintest of stars.

I had this idea when I designed the addon. The problem is that many balls are actually showing multiple stars systems (binaries and some more complex systems). Since the stars in the system are having various sizes and spectral classes, how can I define the ball's size/color ? Also, several colors may give a strange "Christmas tree" feel to the whole.

So the labels can't have a variable size/color in a consistent way. I think that a "keep it simple" philosophy is better here : same size and color for all the labels, except a special symbol (circle) for the multi-component systems.
"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
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Re: New Star Map (21 nearer stars from Sol)

Post #16by fsgregs » 19.12.2009, 16:52

Really nice addon. Thanks for the work and effort. Its a great educational tool. My only problem is ... I can't seem to figure out how to turn on the polar grid and blue lines to each star. I've toggled the celx file and tried a bunch of keys, but the lines do not appear. HELP!

Frank

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

Re: New Star Map (21 nearer stars from Sol)

Post #17by Cham » 19.12.2009, 18:12

Okay, I modified a bit the last addon for some better rendering on screen, to identify the number of stars in the multiple systems, and to add a special red symbol in the cases of exoplanets (three of the nearest stars do have exoplanets!).

EDIT : I've updated the star map addon on my addons topic.

I've found an elegant solution : the stars with exoplanets are indicated by a subtle blue circle, which gives a nice continuity to the blue lines, and is consistent with the circle as a symbol of "orbiting objects" (also consistent with multiple stars systems). And it will be very easy to edit the CELX file as we discover more exoplanets around these stars in the future.

What do you think ?

Image
Last edited by Cham on 19.12.2009, 20:21, edited 1 time 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!"

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Re: New Star Map (21 nearer stars from Sol)

Post #18by fsgregs » 19.12.2009, 19:42

Cham:

Sorry for the repeat, but I can't seem to figure out how to turn on the polar grid and blue lines to each star. I've toggled the celx file and tried a bunch of keys, but the lines do not appear. HELP!

Also, some of the stars in your screenshot are not labeled when I run the addon on my machine. For example, Sirius is not labeled in my view, even though I've brought it close to the forward view. Am I doing something wrong?

Frank

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

Re: New Star Map (21 nearer stars from Sol)

Post #19by Cham » 19.12.2009, 19:46

Frank,

obviously, the addon hasn't been installed correctly. I don't know what you have done wrong. It should be easy. Just check that you have all the pieces in the right folder.

Have you edited some of the files ? If so, don't forget to open/save under the UTF-8 format.
"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
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Re: New Star Map (21 nearer stars from Sol)

Post #20by fsgregs » 19.12.2009, 22:05

Cham:

OK, I discovered that the polar grid and all blue lines are in the class, "nebula". If nebula is not pre-selected by Celestia's start.cel, then you do not see the lines or grid when you launch the celx addon script, until you open the render menu and turn "nebula" on.

I suggest you add a "render nebula" command to the nearest_stars.celx script so the lines are turned on automatically.

This would be a great addon for inclusion in Vincent's lua edu tools addons, if a keystroke could be mapped to the keyboard to toggle through the 3 script choices. Have you given thought to toggling the script via keystroke? :)

Frank


Return to “Add-on development”