Page 1 of 3

Planetshine

Posted: 17.03.2008, 23:53
by chris
Since the topic of planetshine has come up, I thought I'd show some of the progress that I've been making on this feature:

Image

No ambient light is enabled. The bluish light on the bottom of Hubble is being reflected from the Earth. This is the OpenGL 2.0 render path, but you can see similar results even with basic rendering.

It's working quite well in most situations, but there's still quite a bit more work required for this to be robust enough to commit to SVN.

--Chris

Posted: 18.03.2008, 00:08
by chris
The night side of Enceladus faintly illuminated by Saturnshine:

Image

--Chris

Posted: 18.03.2008, 00:43
by ElChristou
Really stunning! 8O

Posted: 18.03.2008, 02:17
by chris
Runar's Buran in Flight add-on with planetshine:

Image

--Chris

Posted: 18.03.2008, 11:31
by rra
this is already very impressive, Chris

one question:
will the planetshine (implicitly) include also "moonshine" ??

Ren?©

Posted: 18.03.2008, 11:43
by Hungry4info
chris wrote:Image

O_O Very nice!!

Is there a code in the .ssc to determine the colour and brightness of the shine? Or is it derived from the preexisting "Color [ R G B ]" and Albedo?

Posted: 18.03.2008, 16:02
by The Singing Badger
This blog posting describes a photo of Enceladus being lit by Rheashine, Tethyshine and Dioneshine:

http://planetary.org/blog/article/00001360/

Is this possible with Celestia?

Posted: 18.03.2008, 17:14
by chris
Hungry4info wrote:Is there a code in the .ssc to determine the colour and brightness of the shine? Or is it derived from the preexisting "Color [ R G B ]" and Albedo?


The albedo and color are all that are needed. The color property in an SSC definition is essentially the global average color of the texture map, which is what we want for planetshine. (We could do something more sophisiticated and actually use the texture map colors, but it's a lot of extra work for what would typically be minor visual differences.)

--Chris

Posted: 18.03.2008, 17:21
by chris
The Singing Badger wrote:This blog posting describes a photo of Enceladus being lit by Rheashine, Tethyshine and Dioneshine:

http://planetary.org/blog/article/00001360/

Is this possible with Celestia?


Not at the moment. The current code doesn't consider light bouncing from moon to moon. It's not hard to add this, but it does require extra calculation, and in most cases such light is imperceptible--the Cassini imaging team used quite a long exposure time to capture that Enceladus image. Once Celestia supports high dynamic range rendering, these effects will be interesting.

--Chris

Posted: 18.03.2008, 17:38
by ajtribick
...I wonder how significant planet-planet reflections would be in some of the more compact solar systems out there, e.g. Gliese 876.

Posted: 18.03.2008, 17:58
by chris
ajtribick wrote:...I wonder how significant planet-planet reflections would be in some of the more compact solar systems out there, e.g. Gliese 876.


Interesting question . . . I've got some debugging code that displays irradiance from planet-moon reflectance as a fraction of solar irradiance. I'll try implementing planet-planet reflections and see what happens. My hunch is that not much light gets reflected from planet to planet: the irradiance of light reflected from a planet falls off with 1/d^2, where d is in units of radii of the reflecting planet. A quick look at the Gliese 876 system suggests that the planets will never get within 10 million kilometers of each other.

--Chris

Posted: 21.03.2008, 10:07
by CAP-Team
Is planetshine already implemented in any SVN version? :mrgreen:

Posted: 21.03.2008, 17:05
by chris
CAP-Team wrote:Is planetshine already implemented in any SVN version? :mrgreen:


Not yet . . . There are still a couple things that need to be fixed.

--Chris

Posted: 26.03.2008, 03:10
by chris
Some further progress on planetshine . . . Here's an image of Cassini during Saturn orbit insertion in 2004. The spacecraft is illuminated by both the Sun and Saturn--so close to Saturn, the illumination from the planet is very apparent.

This image represents a significant accomplishment: Cassini is defined in its ssc file with an orbit about the Sun. Celestia doesn't just assume that light is reflected between orbitally bound objects any more. I added some new code that does fairly complicated tests to determine what objects may potentially illuminate objects in view. As is frequently the case in Celestia, the complexity arises because of the need to do things very fast, in this case lighting.

With Cassini, secondary illumination can come from a number of different bodies:
- Earth at launch and during gravitational assists
- Venus during gravitational assists
- Saturn during orbit insertion
- Titan and other Saturnian moons during encounters

It's really neat to watch the orange glow of Titan appear on the spacecraft as it performs a flyby of the Moon.

Image

--Chris

Re: Planetshine

Posted: 26.03.2008, 11:05
by ElChristou
Very nice! Cannot wait to test this! :D

Re: Planetshine

Posted: 26.03.2008, 13:05
by Hungry4info
Indeed! This is truly awesome!

Re: Planetshine

Posted: 27.03.2008, 02:25
by Chuft-Captain
That's awesome Chris!

... Just one question... will this include illumination by Mirrors? (You know what I'm talking about! :wink: )

Re: Planetshine

Posted: 27.03.2008, 02:36
by Chuft-Captain
Sorry for the off-topic, but for some reason BBCode is OFF for me in this (Developer Talk) forum.
All is enabled in my profile, and works OK in other forums, but not here. Is this a bug in phpBB3??

eg: :wink: 8) :lol: :) :sad: <--- these should display as images (other people seem to be OK)

Re: Planetshine

Posted: 27.03.2008, 03:09
by chris
Chuft-Captain wrote:Sorry for the off-topic, but for some reason BBCode is OFF for me in this (Developer Talk) forum.
All is enabled in my profile, and works OK in other forums, but not here. Is this a bug in phpBB3??

eg: :wink: 8) :lol: :) :sad: <--- these should display as images (other people seem to be OK)

Strange . . . Those permissions were indeed turned off. I had no idea that they were even settable per forum. BBCode and smilies should work now.

--Chris

Re: Planetshine

Posted: 27.03.2008, 03:24
by chris
Chuft-Captain wrote:That's awesome Chris!

... Just one question... will this include illumination by Mirrors? (You know what I'm talking about! :wink: )

I'm afraid that it won't right now. The planetshine code only considers diffuse reflections, and it treats all light reflectors as spherical.

--Chris