Brightness Of Planets

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Elen Sila
Posts: 4
Joined: 11.09.2011
With us: 13 years 2 months

Brightness Of Planets

Post #1by Elen Sila » 28.12.2011, 15:57

Here is a photograph I took, about three hours ago. (Disregard how bright the sky looks; that's just light pollution being amplified by the large aperture setting I used. The sky looked black to the naked eye.)

Image

Here is Celestia's simulation of what the sky should have looked like at that time.

Image

Notice that, in real life, Saturn is SIGNIFICANTLY more brilliant than he is portrayed by Celestia. This is an issue not unique to Saturn: Mars and Mercury also suffer from the same problem. Is there a way to fix this by editing the program files; or is this something that would have to be changed in later versions of Celestia?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Brightness Of Planets

Post #2by selden » 28.12.2011, 16:46

The brightness of an object which is too small to resolve in Celestia (i.e. one which is drawn as a point), is controlled by that object's SSC entry Albedo. You can manually edit Celestia/data/solarsys.ssc (which is a plain text file) to change the Albedo values.

Celestia has three different ways of drawing a point-like object. Type Ctrl-S several times to step through them.
Selden

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

Re: Brightness Of Planets

Post #3by ajtribick » 19.02.2012, 11:30

There was at one point an attempt being made to add HDR capability to Celestia (which is something we really need given the vast dynamic range we are representing), unfortunately the person responsible left/disappeared before they completed it.

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

Re: Brightness Of Planets

Post #4by t00fri » 19.02.2012, 13:56

First of all, this week Saturn has apparent magnitude +0.5 while the nearby Spica (alpha VIR) has +0.98. Thus, Saturn is indeed somewhat brighter than Spica but for the unaided eye it's not all that much.

Next, the star display in Celestia STRONGLY depends on the star style chosen (select with CTRL+S).

You apparently used the "scaled disks" style, which may give a reasonable global star display, but is unsuited for quantitative comparisons. Notably brighter stars (Spica!) will appear too bright (disk getting too large)

The underlying problem is clearly that the narrow dynamic range of computer monitors is generally unable to properly render the LARGE actual brightness differences of celestial objects. Hence one has to use various graphical tricks that are unavoidably more or less bad compromises.

One of the best possibilities is to map the apparent magnitude of a star to the rendered star size in pixel. In order to avoid huge discs (and slow rendering speed) one adds a Gaussian glare beyond a certain threshold brightness. The corresponding star view again depends on several parameters that one needs to adjust carefully etc.

Here is how things look with my shader stars (Celestia.Sci) and with apparent magnitude limit adjusted to 7.0 for naked eye observation:
stars_planets.jpg

The more reddish and somewhat brighter object left of Spica is Saturn. I think it's not all that bad.

This more modern star style is not officially incorporated in Celestia (I use such type of stars in Celestia.Sci though and ChrisL uses it in his new Cosmographia project through the VESTA@ASTOS library). There exists a patch by ChrisL for the Celestia source code, which requires recompilation.

Analogously, planets are inspected under a number of different conditions in Celestia: in the far-away "pointlike" limit, in some kind of telescope mode (-> automag) and from close distance. In the far-away "pointlike" limit one needs to use a similar rendering style as for the stars, in order to be able to compare magnitudes quantitatively. This has not been implemented in the official Celestia version.

Fridger
Image

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: Brightness Of Planets

Post #5by duds26 » 02.03.2012, 17:44

Hopefully this will be implemented!
Would be nice to have the correct approximation of brightness.


Return to “Development”