NEW addon : Hubble's classification chart in Celestia

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: 21 years 2 months
Location: Montreal

NEW addon : Hubble's classification chart in Celestia

Post #1by Cham » 21.08.2008, 15:21

I'm building another layer : the Hubble's classification. It isn't finished yet, since I want to add sone CMOD lines (may be not) and nice some labels :
galaxies.jpg


I also noticed that the SBa and SBb templates are reversed, relative to others. I wonder why.

Of course, the addon can be toggled ON/OFF at will.

EDIT : Here's the final addon :
Hubble_classification.zip
Last edited by Cham on 24.08.2008, 05:57, 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!"

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #2by ElChristou » 21.08.2008, 15:44

H?h?... that is pretty cool... Perhaps this chart could be better at a cosmological scale?
Image

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #3by Cham » 21.08.2008, 15:50

ElChristou wrote:Perhaps this chart could be better at a cosmological scale?

The galaxies in this chart are located at 1 million LY from Sol, and have a typical size of 100 000 LY diameter.
"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 2 months

Re: Work in progress : Hubble's classification chart in Celestia

Post #4by ElChristou » 21.08.2008, 16:03

Ah ok... 8O (huge chart in that case!)

I wonder about some kind of construction using galaxies... :o
Image

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #5by Cham » 21.08.2008, 16:08

ElChristou wrote:I wonder about some kind of construction using galaxies... :o

Heheheee, you're reading my mind : filaments, walls and bubbles...
"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 2 months

Re: Work in progress : Hubble's classification chart in Celestia

Post #6by ElChristou » 21.08.2008, 16:10

Cathedral! :o
Image

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #7by Cham » 22.08.2008, 21:39

The addon is almost finished. I'm just wondering about the transparent square around each galaxy type. Looks like some 3D picture or "hologram", in Celestia. Any opinion ?

A view from Earth :
hubble1.jpg


A view at close range :
Hubble2.jpg
"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: 19 years 6 months
Location: Indiana, United States

Re: Work in progress : Hubble's classification chart in Celestia

Post #8by Hungry4info » 23.08.2008, 00:30

I personally prefer it without the square.
Pretty neat add-on by the way =)
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
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 2 months
Location: Montreal

Re: Work in progress : Hubble's classification chart in Celestia

Post #9by Cham » 23.08.2008, 02:00

I've edited the first post.
Last edited by Cham on 24.08.2008, 05:56, 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!"

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #10by ElChristou » 23.08.2008, 07:19

Cham wrote:The addon is almost finished. I'm just wondering about the transparent square around each galaxy type. Looks like some 3D picture or "hologram", in Celestia. Any opinion ?

What about a dimmer square (really dim) and a light frame around?
Image

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

Re: Work in progress : Hubble's classification chart in Celestia

Post #11by Cham » 23.08.2008, 11:37

ElChristou wrote:What about a dimmer square (really dim) and a light frame around?

I was thinking too about something like this. I'll try it. I may also add the % of each class in the visible universe.
"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: 21 years 2 months
Location: Montreal

Re: NEW addon : Hubble's classification chart in Celestia

Post #12by Cham » 23.08.2008, 11:52

Here's a test version. Do you think this is better ? Personally, I'm not sure...
galaxies2.jpg
"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 2 months

Re: NEW addon : Hubble's classification chart in Celestia

Post #13by ElChristou » 23.08.2008, 12:26

Cham wrote:Here's a test version. Do you think this is better ? Personally, I'm not sure...
galaxies2.jpg

If you go this way, with a larger square (to let breath a bit more the galaxies) and a thinner frame, it should be ok...
Image

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

Re: NEW addon : Hubble's classification chart in Celestia

Post #14by Cham » 23.08.2008, 12:38

This is the best I could do, with the frame. What do you think ?
galaxies3.jpg
"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 2 months

Re: NEW addon : Hubble's classification chart in Celestia

Post #15by ElChristou » 23.08.2008, 13:23

Not sure. A simple yellow line for the frame is not possible?
Image

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

Re: NEW addon : Hubble's classification chart in Celestia

Post #16by Cham » 23.08.2008, 13:34

ElChristou wrote:Not sure. A simple yellow line for the frame is not possible?

Like in the previous test with a frame ? I think it's looking "heavy". Do you mean a simple CMOD line ?
"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: 21 years 2 months
Location: Montreal

Re: NEW addon : Hubble's classification chart in Celestia

Post #17by Cham » 23.08.2008, 14:04

I think this is very good (CMOD frame) :
frame.jpg


And if some people don't like the frame, it can be removed easily. The color of the frame can be edited very easily too. I also placed the semi-transparent glass into the unique CMOD frame file, so everybody could change its transparency effect and color according to taste.
"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 2 months

Re: NEW addon : Hubble's classification chart in Celestia

Post #18by ElChristou » 23.08.2008, 14:37

Cham wrote:I think this is very good (CMOD frame) :

And if some people don't like the frame, it can be removed easily. The color of the frame can be edited very easily too. I also placed the semi-transparent glass into the unique CMOD frame file, so everybody could change its transparency effect and color according to taste.

Yep, not bad! And the all customizable stuff is always the best solution!
Image

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

Re: NEW addon : Hubble's classification chart in Celestia

Post #19by Cham » 23.08.2008, 14:43

The balance is now perfect (to my taste) :
framePlane.jpg


It's really a great thing to be able to fusion pure CMOD lines with simple planes, into the same TEXT CMOD file. The match is perfect. So everybody could simply remove the frame or the glass seperately, or both (galaxies without any frame and glass). The CMOD code is very simple :

Code: Select all

#celmodel__ascii

material  # Invisible
opacity 0
end_material

material  # Weak orange for the frame
   emissive 0.45 0.35 0
   diffuse  0.45 0.35 0
   opacity 0.5
end_material

material  # Semi-transparent for the Glass Plane
   emissive 0.694 0.522 0.741
   diffuse 0.694 0.522 0.741
   opacity 0.10
end_material

mesh  # basic mesh to center the model in Celestia
  vertexdesc position f3 end_vertexdesc

vertices 4
6.75 0 6.75
6.75 0 -6.75
-6.75 0 -6.75
-6.75 0 6.75

points 0 5
0
1
2
3
0

end_mesh

mesh  # Frame
 vertexdesc position f3 end_vertexdesc

vertices 4
5 0 5
5 0 -5
-5 0 -5
-5 0 5

linestrip 1 5
0
1
2
3
0

end_mesh

mesh  # Glass Plane
vertexdesc position f3 normal f3 end_vertexdesc

vertices 12
-5 0 5 0 -1 0
5 0 -5 0 -1 0
5 0 5 0 -1 0
5 0 -5 0 -1 0
-5 0 5 0 -1 0
-5 0 -5 0 -1 0
-5 0 -5 0 1 0
5 0 5 0 1 0
5 0 -5 0 1 0
5 0 5 0 1 0
-5 0 -5 0 1 0
-5 0 5 0 1 0

trilist 2 12
0 1 2 3 4 5 6 7 8 9 10 11

end_mesh


And that plane with glass CMOD could also be used for other purposes (Milky Way galactic plane, for example, or to place a frame around something else).
"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: 21 years 2 months
Location: Montreal

Re: NEW addon : Hubble's classification chart in Celestia

Post #20by Cham » 23.08.2008, 15:50

I added the population statistics, according to Celestia's database. I would prefer to show the % in the real visible universe, but I'm finding few info about that, and the data is very inconsistent, on the net. Any suggestion ?
"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!"


Return to “Add-on development”