News from the Galaxy Project

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

News from the Galaxy Project

Post #1by t00fri » 26.08.2006, 18:41

In this post, I want to present some striking rendering
improvements for the forthcoming Celestia release
from the "galaxy front".

There are two aspects to the present galaxy project:


I) Code
--------
Since several months, I have implemented the
support of standard, (binary) PNG format for our
galaxy templates. As compared to the previous,
/non-standard/ pts format of Celestia 1.4.1, there are
many advantages, as I described in various previous
posts. Here is a brief summary:

-- storage requirements are only << 1/10 of the .pts
format! Hence many more templates beyond the
standard Hubble classes may be designed easily.

-- since PNG is a standard format (unlike .pts)
everyone may use his favored image manipulation
program and play with or design new templates. All the
fancy options like layers etc may be applied and are of
paramount importance, in fact, for good
brightness-normalized designs.

--I have recently added the often requested option of
custom templates for any of the 10000+ galaxies of
my deepsky.dsc catalog. Notably, this is crucial for the
MilkyWay (see below)
!

--PNG's can carry color and alpha, i.e. useful additional
degrees of freedom for future improvements/
enhancements of our templates!


II) Template design
--------------------

Well this is a most enjoyable scrupoulos joint project
with ElChristou (aka Christophe) since quite a while.
Christophe has invented a systematic layer design
algorithm for PNG galaxy templates that is really great.
He (and I?) will soon write a tutorial in CelestialMatters
as soon as some spare time pops up!

As soon as possible, Christophe and/or I will present
here a more systematic status report about our new
PNG templates.

Obviously, I can only commit the new galaxy code once
our joint template design effort is completed as well ;-)

We are working hard to finish it ASAP!



++++++++++++++++++++++++++++++++++++++
Today, I want to focus on some exciting new display
improvement for our galaxies that I discovered only a
few days ago.

++++++++++++++++++++++++++++++++++++++

What does it amount to??


It concerns making our galaxy templates "voluminous" in just the right way:

Remember our galaxy templates are only 2-dimensional
to start!


The idea is absolutely simple. In galaxy.cpp, I calculate
the 3rd coordinate (i.e. the "thickness" of the spirals)
proportional to the read-in template brightness value at
the point (x,y)! Unlike previously, where the spiral
"thickness" was generated randomly as a (thin)
uniform Gaussian shape in an initialization method, it's
now mainly the /bright center and the bright arms/
that become "non flat".

So let me list the recent progress as emerging from my
new code in turn:

A) First, here you see the present status of ElChristou's
actual custom template design of our new MilkyWay,
that contains ALL scientifically established arms, the
correct size and inclination of the central bar and, of
course, the Sun in proper location. Lots of joint tuning
and discussions went into that! I now display our latest
MilkyWay with annotations of arms etc, according to
my new 3d code. Note the enhanced 3d impression in
the central region:

Image

B) The next striking benefit of my new code is this:

If spirals are now viewed /sideways/, one notices these
typical thin dark regions that were badly missing so
far. This is illustrated in the next composite image. The
top galaxy is the custom MilkyWay from A) viewed
sideways! Note the dark central lane! The next one is a
different Hubble class and compares well to an actual
photo in the lowest image!
Image


C) It turns out that my new code gives not only a great
3d impression, but also precisely the right /transverse
widening/ of the MilkyWay arms as is observed from
Earth! The latter constraint gave us quite some
headache, as you may see first from ElChristou's nice
comparison with a photo mosaic (exaggerated colors!)
of the center of the MilkyWay as seen from Earth

Image

With my new code the central part of the Milky way is
almost spot on, shows the striking dark lane and even
about the right colors!

Image

So I am busy to try some further explorations of this
idea and to implement some fine tuning.

To end, here are just two "appetizers" in form of two of
our new PNG templates: Hubble class Sc (M74) on top
and SBc, with a conspicuous bar.
Image
Cheers,
Fridger
Last edited by t00fri on 26.08.2006, 21:51, edited 1 time in total.
Image

tech2000
Posts: 258
Joined: 14.02.2006
Age: 52
With us: 18 years 9 months
Location: Skepplanda, Sweden

Post #2by tech2000 » 26.08.2006, 19:23

Great work!

Can't wait to play with it live... In many aspects it seems to have happened a lot to Celestia since the last official release.

Thanks for the word, Anders

Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 6 months

Post #3by Fightspit » 26.08.2006, 19:38

Very nice galaxies !
I think the next step for these galaxies is to put several stars into them 8O !, no ?
I know there is a limit of distance in current Celestia to show them but is it possible to "broke" or extend this limit ?
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Paolo
Posts: 502
Joined: 23.09.2002
With us: 22 years 2 months
Location: Pordenone/Italy

Post #4by Paolo » 26.08.2006, 20:15

8O
No other words: Spectacular! :D :D :D

Kind regards
Remember: Time always flows, it is the most precious thing that we have.
My Celestia - Celui

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

Post #5by Cham » 26.08.2006, 20:37

OOOH MY F%?$#@&G ! This looks AWESOME ! 8O

Very nice work guys ! This looks really terrific and I'm very excited ! I can't wait to show those results to all my astronomy students, as I'm giving a new course on astronomy all based on Celestia (for the first time at the institution where I'm working).

Geez ! :D :D
"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
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #6by t00fri » 26.08.2006, 21:13

Hey everybody,

thanks for encouragements! Happy to see that people
seem to like the progress.


Of course, the "correct" way to render dust lanes
would be to introduce dark absorbing particles into the
galaxy model, but this unfortunately requires an
expensive depth sort of the particles.

My present method may be viewed as a most simple
and efficient "emulation" of all that.

What is particularly encouraging is that this simple
method addresses several issues AT ONCE: appealing
3d effects with more inhomogeneity than random
Gaussian thickness profiles, qualitatively right "dark
lanes" and improved views of the Milky Way from
Earth. The dark lanes are generated simply by first
building the thinkness in the arms and the center up
via their brightness profile and then randomize the
result such that a certain depletion of luminous sprites
occurs close to the galactic plane. It's all very simple.


Bye Fridger
Image

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

Post #7by Cham » 26.08.2006, 21:21

I definitely have the impression that Celestia's development is in ebullition, now. This is all great news. Can't wait to use the new version.
"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!"

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Re: News from the Galaxy Project

Post #8by danielj » 26.08.2006, 23:30

Very nice,but galaxies are complex objects and difficult to render.
The Milky Way seen from Earth isn??t very convicing,yet;but when you go out of the galaxy,the improvement is fantastic.
Not only stars,but the star clusters in our own Milky Way galaxy are not very accurate.Only a few star clusters,like Pleyades,M44 and a few other are recognizable.

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

Post #9by Cham » 26.08.2006, 23:51

Pictures, please ?
"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!"

MKruer
Posts: 501
Joined: 18.09.2002
With us: 22 years 2 months

Post #10by MKruer » 27.08.2006, 01:22

Sweet. I think I can see my house from here!

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #11by rra » 27.08.2006, 08:37

Fridger,

would this new technique (using brightness as input for depth)
also be applicable to Nebulea, giving them a 3D look ?

Ren?©

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #12by t00fri » 27.08.2006, 10:48

rra wrote:Fridger,

would this new technique (using brightness as input for depth)
also be applicable to Nebulea, giving them a 3D look ?

Ren?©


Well, one always may try, but unlike galaxies, it appears not to make too much sense physically.

My method is a simple and fast way to associate the
visible /transverse/ size of spiral galaxies mainly
with that of the arms and the center. It matches the
impression one gets from very detailed Hubble photos
e.g. of M51 etc

Here are two example from hubble

M51:
http://hubblesite.org/gallery/album/gal ... /large_web

NGC 4603:
http://hubblesite.org/gallery/album/gal ... 99019b/web

[or even the large version:
http://imgsrc.hubblesite.org/hu/db/1999 ... ll_jpg.jpg
]
Bye Fridger
Image

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Post #13by abramson » 27.08.2006, 22:41

Fridger, Christophe, this new galaxy rendering is terrific!

rra wrote:would this new technique (using brightness as input for depth)
also be applicable to Nebulea, giving them a 3D look ?


For nebulae it might not be very realistic, but for globular clusters...

Guillermo

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 3 months
Location: NJ USA

Post #14by LordFerret » 28.08.2006, 03:23

Very nice... and exciting!

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 4 months

Post #15by ajtribick » 30.08.2006, 18:09

Great work here! You've got a really good system here.


Return to “Ideas & News”