Atmospheres: old vs new

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Atmospheres: old vs new

Post #1by chris » 07.08.2006, 05:32

I'm still working on the model of atmospheric scattering. A few comparisons between the old and new atmosphere code:

Earth seascape - old:
Image
Earth seascape - new - notice the ocean fade into the haze toward the horizon:
Image

Sunrise - old:
Image
Sunrise - new:
Image

Whole Earth - old:
Image
Whole Earth - new - note the bluish tint due to Rayleigh scattering:
Image

--Chris

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Post #2by chris » 07.08.2006, 05:42

One more comparisons . . .

Old:
Image

New:
Image

--Chris

Kolano
Posts: 125
Joined: 15.02.2005
With us: 19 years 7 months
Location: New Jersey

Nice progress

Post #3by Kolano » 07.08.2006, 05:48

Nice progress.

For comparison...
The classic Apollo image...
Image

Other earth from space image:
Image

I presume there are a few variables for you to play with in this.

It seems to me that the fade out needs to be more condensed (i.e. pushed further towards the edges of the sphere, having less effect on the center areas).
System:
Asus A8N-SLI Premium nForce4 SLI
AMD Athlon 64 X2 4200+
2xeVGA GeForce 7800 GTX 256MB
2gb Dual Channel DDR (400) 3200

Kolano
Posts: 125
Joined: 15.02.2005
With us: 19 years 7 months
Location: New Jersey

Coincidentally

Post #4by Kolano » 07.08.2006, 05:52

I was making my post at the same time as Chris. Surprising how closely the two images I selected line up with his.
System:

Asus A8N-SLI Premium nForce4 SLI

AMD Athlon 64 X2 4200+

2xeVGA GeForce 7800 GTX 256MB

2gb Dual Channel DDR (400) 3200

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 1 month

Post #5by Malenfant » 07.08.2006, 05:54

Looks good, Chris! How does a comparison of other planets look though (ie old mars vs new mars, old venus vs new venus)
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Toti
Developer
Posts: 338
Joined: 10.02.2004
With us: 20 years 7 months

Post #6by Toti » 07.08.2006, 09:30

Looks great!!

Did you include aerial perspective? In the second image the ground seems to be affected by distance.

Later:
Oops! didn't see the legend accompanying that image.
Last edited by Toti on 07.08.2006, 10:59, edited 1 time in total.

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

Post #7by rra » 07.08.2006, 10:33

Great work, can't wait to play with it .
One thing I personally didn't like was the new "whole earth" view,
because of Rayleigh scattering the Earth doesn't look so crisp as it used te be.
Is the new rendering an option one can select (and also turn off or select another ?) .

Any idea when we can expect the first beta build
with all of the new eye candy ??

Ren?©

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

Post #8by ElChristou » 07.08.2006, 11:21

Very nice!
Tx for the great work Chris! :D
Image

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 4 months
Location: Rome, ITALY

Post #9by ANDREA » 07.08.2006, 15:13

Chris, the new seascape and sunrise images look absolutely real! :wink:
Thank you for this wonderful improvement.
Bye

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 2 months
Location: Lyon (France)

Post #10by Christophe » 07.08.2006, 15:20

A very, very nice improvement indeed.

Chris, on the images above you don't seem to have FS AA enabled, any reason for it?
Christophe

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 1 month

Post #11by Malenfant » 07.08.2006, 15:26

rra wrote:Great work, can't wait to play with it .
One thing I personally didn't like was the new "whole earth" view,
because of Rayleigh scattering the Earth doesn't look so crisp as it used te be.


Actually I think one reason the Celestia full earth looks unrealistic is that the scattering on the ocean is too big and the cloud cover not complete enough. I mean, look at how much the clouds cover the Earth on that Apollo pic...
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Post #12by chris » 07.08.2006, 16:20

Malenfant wrote:Looks good, Chris! How does a comparison of other planets look though (ie old mars vs new mars, old venus vs new venus)


I haven't put as much care into selecting the atmosphere parameters for Mars as for Earth. I need to figure out what's actually going on in Mars's atmosphere. The dust colors the sky reddish and the sunsets have a slight blue color--it's as if the wavelength dependence of scattering is backward version of the Rayleigh 1/wavelength^4. Anyhow, here's an attempt:

Mars - old:
Image

Mars - new:
Image

There are still some tesselation artifacts visible with the new atmosphere code. I plan on taking care of those before release time.

--Chris

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

Post #13by Chuft-Captain » 07.08.2006, 16:26

Chris,
JOOI, what sized Earth texture are you using in these pictures?

There's no chance I'll be able to display this quality with my current graphics, but just interested for the day that I will. :)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 1 month

Post #14by Malenfant » 07.08.2006, 17:46

I think one big difference with Mars is that there's a lot of very fine-grained particulates in the atmosphere. That's probably going to give you different scattering effects than just molecules of gas or vapour would.

This might be of some use - the second link is more technical:
http://webexhibits.org/causesofcolor/14C.html
http://www.mars-lunar.net/Solar.Energy. ... ities.html
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

phoenix
Posts: 214
Joined: 18.06.2002
With us: 22 years 3 months
Location: Germany - Berlin

Post #15by phoenix » 07.08.2006, 19:33

wow 8O
first the new specular-rendering and now this, incredibly fast and beautiful development chris ;)
most recent celestia win32-SVN-build - use at your own risk (copy over existing 1.5.1 release)

symaski62
Posts: 609
Joined: 01.05.2004
Age: 41
With us: 20 years 5 months
Location: france, divion

Post #16by symaski62 » 07.08.2006, 19:49

8O joli !!! image !

chris thanks !

celestia 1.4.2 BETA ou Celestia 1.5.0 BETA ?!?
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 2 months
Location: Lyon (France)

Post #17by Christophe » 07.08.2006, 20:06

Chris, I tried the new code, with the atmosphere settings you posted. Here is what I get:
Image
Image

Turning off clouds or cloud shadows fixes it.

with clouds off:
Image

Also, when going below arround 750m, a gap between the horizon and the atmosphere appears:
Image

And except at sunrise and sunset, the sky appears black.

Code: Select all

Vendor : NVIDIA Corporation
Renderer : GeForce 6600 GT/PCI/SSE2/3DNOW!
Version : 2.0.2 NVIDIA 87.62
Max simultaneous textures: 4
Max texture size: 4096
Christophe

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 10 months

Post #18by granthutchison » 07.08.2006, 20:22

chris wrote:I need to figure out what's actually going on in Mars's atmosphere. The dust colors the sky reddish and the sunsets have a slight blue color--it's as if the wavelength dependence of scattering is backward version of the Rayleigh 1/wavelength^4.
Unfortunately, I think it shows the directional dependence of particulate colours. When you look towards the sun, you're seeing the shadowed side of all the dust particles, so they add little or no colour to the sky. All that's left is Mie and Rayleigh scattering, generating a bluish-white patch around the sun at Martian sunset. Next time you stand next to a (daytime) bonfire, scoot round and look at the sun through the smoke: you'll see brown smoke with a central washed-out blue patch surrounding the sun: the similarity to Martian sunset photos is quite impressive.

I have seen it suggested that the Martian sunset sky is produced by a population of reverse-Rayleigh scatters, as you say. Take particles that are precisely tuned in size to be on the cusp between Rayleigh and Mie scattering. They'll Rayleigh-scatter red, but Mie-scatter blue. Theoretical calculations bear that out: 10-micron particles produce a Rayleigh spectrum mildly weighted to the red end: Craig Bohren's Atmospheric Optics chapter provides a graph (as well as perhaps being a useful reference source for your work, Chris).
Trouble is, what plausible mechanism could produce such a finely tuned population of dust particles in the Martian atmosphere?

Grant

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Post #19by chris » 07.08.2006, 20:47

Christophe wrote:Chris, I tried the new code, with the atmosphere settings you posted. Here is what I get:

Turning off clouds or cloud shadows fixes it.

Strange . . . Could you send or post the contents of shaders.log?

Also, when going below arround 750m, a gap between the horizon and the atmosphere appears:

Yes, I know about this. The new atmosphere code has required adjustments to the code that sets up the viewport clipping planes. It should be an easy fix (and soon I will be completely rewriting that code.)

And except at sunrise and sunset, the sky appears black.


It does? One of those images looks like a midday scene with a blue sky.

--Chris

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 2 months
Location: Lyon (France)

Post #20by Christophe » 07.08.2006, 21:20

chris wrote:Strange . . . Could you send or post the contents of shaders.log?

http://epicycle.free.fr/celestia-shaders.log

chris wrote:
And except at sunrise and sunset, the sky appears black.
It does? One of those images looks like a midday scene with a blue sky.


You're right, the problem is not linked to the position of the Sun in the sky but to the altitude of the point you're looking at. The sky is always black at the zenith, even at midday. This short video shows the problem.
Christophe


Return to “Ideas & News”