• Print view

## New star generator for other galaxies... (work in progress)

Post requests, images, descriptions and reports about work in progress here.
Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

A test version for the most luminous stars, in M33. I find it pretty nice. The HR plot is too homogeneous, though...

There are 20 000 stars in this case, and I'm using the "scaled disk" rendering of stars to see them more easily.

M33a.jpg
M33c2.jpg
M33b.jpg

I'm beginning to think about galactic arms, since with very luminous stars, it could be interesting...

I'm still waiting Fridger's response, about the function used to define the galactic arms (galactic templates)...
"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
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

About the arms, I'll play with the classical logarithmic spiral. However, there are lots of possibilities with the three parameters which defines the logarithmic spiral (in parametric form) and I need to know what Celestia is using to draw its spiral galaxies :

spiral.jpg

EDIT : Mathematica has the ability to superpose a picture and a mathematical curve. So I could easily find the best match, while playing with the curve parameters (in this case, M33).

spirales.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!"

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

### Re: New star generator for other galaxies... (work in progre

When is this ready for use??

t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 8 months
Location: Hamburg, Germany

### Re: New star generator for other galaxies... (work in progre

Cham wrote:I'm still waiting Fridger's response, about the function used to define the galactic arms (galactic templates)...

The templates were NOT produced by means of an analytical math formula. This would not look realistic in the end, since also between the arms some "glowing" material is required. On average, logarithmic spirals are of course the simplest mathematical approximation for the shape of the arms.

The templates are quite complicated to do, requiring a lot of experience how the code associates sprites of a large range of sizes to the pixels on the template. I did all templates by hand (Gimp) in multi-layer technique. A number of layers are the same for each template, as noted by my friend ElChristou (Christophe).

The basic shapes are obtained from an overlay with reference photos that first need to be reprojected to exact face-on view. A crucial aspect are the various brightness levels of the pixel "noise" in-between the arms. The template size is 128x128 pixels.

[ In Celestia.Sci the templates for spirals are much improved and the elliptical galaxies are entirely computer generated with dedicated shader code.]

Cham wrote:I need a list of all spiral galaxies within 10 millions LY ! Someone ?

My galaxy database (galaxies.dsc) in the Celestia distribution comprises ALL galaxies (including dwarfs) within the Local Group volume V <~ (10 Mpc)^3. That should do, right?

Fridger

Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

t00fri wrote:On average, logarithmic spirals are of course the simplest mathematical approximation for the shape of the arms.

I intend to use the logarithmic curves (blurry version, actually) to dispose some stars over the quasi-homogeneous (radial) distribution. That should do it.

t00fri wrote:My galaxy database (galaxies.dsc) in the Celestia distribution comprises ALL galaxies (including dwarfs) within the Local Group volume V <~ (10 Mpc)^3. That should do, right?

Actually, there aren't much spirals in this volume, I think (Milky Way, M31 and M33), unfortunately (or fortunately ?).

Fridger, you didn't responded to my pm 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!"

t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 8 months
Location: Hamburg, Germany

### Re: New star generator for other galaxies... (work in progre

Cham wrote:Fridger, you didn't responded to my pm yet ?

Didn't arrive here. Typo?

If you have attached an executable file (...zip,...), it will be resent to you.

Fridger

Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

t00fri wrote:
Cham wrote:Fridger, you didn't responded to my pm yet ?

Didn't arrive here. Typo?

If you have attached an executable file (...zip,...), it will be resent to you.

Fridger

????!!!???

I'm sending it back to you... in 2 min.

"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
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

Today, I built an STC file of 1 MILLION stars for M31 (Andromeda galaxy). The STC file is 138.3 MB in size and Celestia takes about 1 minute to load.

The star search is pretty laggy, but the 3D view is absolutely spectacular, especially with a sprite based nebula (arms) !
The stars are following the M31 arms structure.
1million1.jpg
1million2.jpg

With the Magnitude pushed to the max :
1million3.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!"

Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

Here's the cross-section of an arm, in M31. The nebula visible on the left isn't the default one. It's a sprites based model superposed on the default representation (the default representation is OFF, in the view below), and truly looks like a real picture ! The frame rate is surprisingly high on my 2009 Mac mini (with 1 million of stars !?!).

1million4.jpg

EDIT : Here's a small video of the 1 million stars distribution. The video is a bit laggy because of the screen capture utility...

http://fsgregs.startlogic.com/Public_Fi ... es/M31.mov
"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!"

Spaceman
Posts: 110
Joined: 11.02.2007
Age: 35
With us: 13 years 9 months
Location: Athens-Hellas (Greece)
Contact:

### Re: New star generator for other galaxies... (work in progre

3 years ago I tried to fill the Milky Way galaxy with stars, but the project was finally abandoned. It is possible to use the new star generator for our galaxy as well?
"Any sufficiently advanced extraterrestrial intelligence is indistinguishable from God"
Michael Shermer

My addons: Nemesis, Ursa Minor Dwarf Galaxy Stars

Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

Spaceman wrote:It is possible to use the new star generator for our galaxy as well?

Of course. However, I don't want to build a stellar distribution for our Milky Way, to not interfere with the realistic stars there. Maybe for the unknown "quadran" behind the MW's galactic core, one of these days, but I think there's enough stars available in other galaxies (M31, M33, NGC 404, ...). See this topic :

viewtopic.php?f=23&t=16626
"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: 37
With us: 14 years 1 month
Location: Out there...

### Re: New star generator for other galaxies... (work in progre

When is new star generator to be available?

Topic author
Cham
Posts: 4325
Joined: 14.01.2004
Age: 56
With us: 16 years 10 months
Location: Montreal

### Re: New star generator for other galaxies... (work in progre

Reiko wrote:When is new star generator to be available?

It will never be available. It's a Mathematica code. I'm releasing its output STC files only.
"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!"

Spaceman
Posts: 110
Joined: 11.02.2007
Age: 35
With us: 13 years 9 months
Location: Athens-Hellas (Greece)
Contact:

### Re: New star generator for other galaxies... (work in progre

Cham wrote:
Spaceman wrote:It is possible to use the new star generator for our galaxy as well?

Of course. However, I don't want to build a stellar distribution for our Milky Way, to not interfere with the realistic stars there. Maybe for the unknown "quadran" behind the MW's galactic core, one of these days, but I think there's enough stars available in other galaxies (M31, M33, NGC 404, ...). See this topic :

viewtopic.php?f=23&t=16626

Having stars with fictional planetary systems in other galaxies is something always welcomed. I'll grab them too very soon
However I'm sure that not everybody cares about realism, when it's about having stars in our galaxy as well. Sure having a red giant 1 light year from the Sun is not the best , but still it can be very useful for world builders and science fiction writers . Just my 2 cents...
"Any sufficiently advanced extraterrestrial intelligence is indistinguishable from God"
Michael Shermer

My addons: Nemesis, Ursa Minor Dwarf Galaxy Stars