Venus Mie/Rayleigh Atmosphere

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Venus Mie/Rayleigh Atmosphere

Post #1by PlutonianEmpire » 05.06.2010, 00:26

Earlier this week, I was attempting to render Venus' atmosphere using the OpenGL 2.0 atmosphere code, and I made it using trial and error. I tried to replicate what I could remember about the venus surface pictures I saw a while back.

This is the result:

Image
Venus with clouds.

Image
Venus without clouds.

Image
Venus surface with clouds.

Image
Venus surface without clouds.

This is the code.

Code: Select all

Modify "Venus" "Sol" {
   Atmosphere {
      Mie 0.001
      MieAsymmetry -0.30
      Rayleigh [ 0.005 0.004 0.001 ]
      Absorption [ 0.0000 0.009 0.02 ]
      MieScaleHeight 20
   }
}


Of course, input is appreciated, and I'm sure there could be improvements made to this code. I'm open to any changes that might need to be made.
Terraformed Pluto: Now with New Horizons maps! :D

Mneme
Posts: 78
Joined: 01.06.2010
With us: 14 years 6 months

Re: Venus Mie/Rayleigh Atmosphere

Post #2by Mneme » 05.06.2010, 04:46

Don't suppose you or someone else might summarize for me what the different variables in atmosphere colors mean?

InconspicuousBarrel
Posts: 55
Joined: 09.04.2010
With us: 14 years 7 months

Re: Venus Mie/Rayleigh Atmosphere

Post #3by InconspicuousBarrel » 05.06.2010, 07:49

I was just about to ask the same thing.

A kinda related question: Why are the values so small for almost all atmospheres?

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

Re: Venus Mie/Rayleigh Atmosphere

Post #4by t00fri » 05.06.2010, 09:12

Have a look in our Celestial Matters site.
http://forum.celestialmatters.org/

There is e.g. a Mie theory workshop related to Celestia and beyond with ~22000 hits of the thread and a knowledgable host ;-)

Manifestations of Atmospheric Light Scattering (Mie Theory)
http://forum.celestialmatters.org/viewforum.php?f=9
http://forum.celestialmatters.org/viewt ... 6&start=75

Topics include playing with an improved Mie theory simulation tool written by Chris L., reproducing the blue Mars sunset or optimizing Earth's atmosphere display etc
Image

To understand Mie theory, you have to know some physics, however....

You may also use the shatters.net search engine for locating many of my respective contributions here. E.g how to set up the subtle atmosphere of Titan...

Fridger
Image

Mneme
Posts: 78
Joined: 01.06.2010
With us: 14 years 6 months

Re: Venus Mie/Rayleigh Atmosphere

Post #5by Mneme » 05.06.2010, 12:36

Thank you. :)

W0RLDBUILDER
Posts: 122
Joined: 02.06.2010
With us: 14 years 6 months

Re: Venus Mie/Rayleigh Atmosphere

Post #6by W0RLDBUILDER » 06.06.2010, 02:51

t00fri wrote:optimizing Earth's atmosphere display
Earth's atmosphere with the new Mie and Rayleigh settings looks like it's 5-7 PM when it's noon, there's so much redsky decay (that's what we call it over at Planetside, a Terragen community). Yet it looks (almost) photorealistic from space. It needs to be fixed so it looks as good from the ground as it does from orbit.

InconspicuousBarrel
Posts: 55
Joined: 09.04.2010
With us: 14 years 7 months

Re: Venus Mie/Rayleigh Atmosphere

Post #7by InconspicuousBarrel » 06.06.2010, 08:00

Terragen 2 is awesome! If only Terragen planet models could be used in Celestia somehow...

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

Re: Venus Mie/Rayleigh Atmosphere

Post #8by t00fri » 06.06.2010, 08:51

W0RLDBUILDER wrote:
t00fri wrote:optimizing Earth's atmosphere display
Earth's atmosphere with the new Mie and Rayleigh settings looks like it's 5-7 PM when it's noon, there's so much redsky decay (that's what we call it over at Planetside, a Terragen community). Yet it looks (almost) photorealistic from space. It needs to be fixed so it looks as good from the ground as it does from orbit.

The present implementation of Mie scattering in Celestia is substantially simplified (e.g. for reasons of speed), and is thus reliably applicable only for space-bound views. By design, ground-based views are not a main aspect of Celestia. For a significant improvement, the atmosphere and surface rendering code would have to be largely rewritten and huge amounts of harddisk space would be necessary for the required scientific elevation maps.

In this context, let me also refer you to an old thread of mine where a persistent problem wrto atmospheres and surface color rendering is discussed:

viewtopic.php?f=10&t=10611
viewtopic.php?f=5&t=12534&start=13

There I emphasized also the limitations of Celestia's Mie implementation wrto surface-based views. I hope these examples will make clear that these remaining issues are not just a matter of "fixing". Rather, it would all require an atmosphere recoding largely from scratch...

Just to recall for Celestia newcomers: The official Celestia distribution is entirely based on scientific astrophysical data (rather than on fiction), and there are only VERY few celestial objects, where sufficient data are available for a realistic surface-based simulation. All add-ons (e.g. fictional ones) are user projects and hence NOT in the responsability of the Celestia development team.

Note that the Mie stuff only works appropriately with the OpenGL 2.0 rendering path.

Fridger
Image

W0RLDBUILDER
Posts: 122
Joined: 02.06.2010
With us: 14 years 6 months

Re: Venus Mie/Rayleigh Atmosphere

Post #9by W0RLDBUILDER » 15.06.2010, 03:47

t00fri wrote:The official Celestia distribution is entirely based on scientific astrophysical data (rather than on fiction), and there are only VERY few celestial objects, where sufficient data are available for a realistic surface-based simulation. All add-ons (e.g. fictional ones) are user projects and hence NOT in the responsibility of the Celestia development team.
So you're saying:
1. Scientific realism over aesthetic realism.
2. Anything based on more than pure data and photographs is fictional.
3. Addons can't be included in an official Celestia distribution, no matter how much it enhances realism.
Also, I fixed your spelling error. :D

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Venus Mie/Rayleigh Atmosphere

Post #10by John Van Vliet » 15.06.2010, 04:55

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 07:51, edited 1 time in total.

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

Re: Venus Mie/Rayleigh Atmosphere

Post #11by t00fri » 15.06.2010, 16:22

As to the ongoing effort of improving Celestia's atmospheres, please, have a look into this new thread:
viewtopic.php?f=10&t=15965&start=0


W0RLDBUILDER wrote:
t00fri wrote:The official Celestia distribution is entirely based on scientific astrophysical data (rather than on fiction), and there are only VERY few celestial objects, where sufficient data are available for a realistic surface-based simulation. All add-ons (e.g. fictional ones) are user projects and hence NOT in the responsibility of the Celestia development team.
So you're saying:
1. Scientific realism over aesthetic realism.
2. Anything based on more than pure data and photographs is fictional.
3. Addons can't be included in an official Celestia distribution, no matter how much it enhances realism.
Also, I fixed your spelling error. :D

Celestia has been designed by it's authors (including myself) to represent a scientific-level 3D visualization of the Universe.

Yes, the task is to achieve scientific level standards in Celestia's positional accuracy, 3D graphics, data base and documentation. Celestia is part of various research projects, notably the STA project by ESA and a number of partner Universities, where scientific realism is required.

http://sta.estec.esa.int/Space_Trajecto ... /Home.html

However due to Celestia's highly modular design, the software can be and actually is used for many other purposes: Educational, planetariums, geology, SciFi, worldbuilding, astrology ;-) ... The nature of add-ons by Celestia users is highly diverse and their number is strongly growing.

(1) "aesthetic realism" is poorly defined.

(2) Astrodynamics/astromechanics is a highly quantitative field of theoretical physics. Therefore besides using data catalogs and photos, we can simply calculate many aspects in Celestia to highest accuracy from underlying physical principles. That perhaps most important part you forgot.

(3) Good ideas are always welcome! They may be implemented into the official Celestia distribution via proper C++ coding or scripting (Lua). Often the quality of external add-ons by users is quite poor compared to the pro-level standards we apply for the official distribution. In the "extras-standard" directory we have included a very limited number of standard space missions: cassini, galileo, hubble, iss, mir. You might call these "official add-ons".

Fridger
Last edited by t00fri on 16.06.2010, 09:47, edited 1 time in total.
Image

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Venus Mie/Rayleigh Atmosphere

Post #12by BobHegwood » 16.06.2010, 09:42

t00fri wrote:Celestia has been designed by it's authors (including myself) to represent a scientific-level 3D visualization of the Universe.
Fridger

And this devotion to the "scientific-level 3D visualization of the Universe" is why Celestia
is so popular in my opinion. Keep at it there Good Doctor. Some of us really do appreciate your efforts here. :wink:

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

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

Re: Venus Mie/Rayleigh Atmosphere

Post #13by t00fri » 16.06.2010, 09:48

BobHegwood wrote:
t00fri wrote:Celestia has been designed by it's authors (including myself) to represent a scientific-level 3D visualization of the Universe.
Fridger

And this devotion to the "scientific-level 3D visualization of the Universe" is why Celestia
is so popular in my opinion. Keep at it there Good Doctor. Some of us really do appreciate your efforts here. :wink:

Thanks, Brain-Dead

Hi Bob,

good to read you from time to time!

F.
Image

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

Re: Venus Mie/Rayleigh Atmosphere

Post #14by Hungry4info » 20.06.2010, 06:02

BobHegwood wrote:Some of us really do appreciate your efforts here. :wink:

Absolutely!!
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics


Return to “Add-on development”