Planetshine

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 10 months
Location: Seattle, Washington, USA

Planetshine

Post #1by chris » 17.03.2008, 23:53

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

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

Post #2by chris » 18.03.2008, 00:08

The night side of Enceladus faintly illuminated by Saturnshine:

Image

--Chris

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

Post #3by ElChristou » 18.03.2008, 00:43

Really stunning! 8O
Image

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

Post #4by chris » 18.03.2008, 02:17

Runar's Buran in Flight add-on with planetshine:

Image

--Chris

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

Post #5by rra » 18.03.2008, 11:31

this is already very impressive, Chris

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

Ren?©

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

Post #6by Hungry4info » 18.03.2008, 11:43

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?
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

The Singing Badger
Posts: 125
Joined: 18.12.2003
With us: 20 years 11 months
Location: Canada

Post #7by The Singing Badger » 18.03.2008, 16:02

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?

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

Post #8by chris » 18.03.2008, 17:14

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

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

Post #9by chris » 18.03.2008, 17:21

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

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

Post #10by ajtribick » 18.03.2008, 17:38

...I wonder how significant planet-planet reflections would be in some of the more compact solar systems out there, e.g. Gliese 876.

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

Post #11by chris » 18.03.2008, 17:58

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

CAP-Team
Posts: 194
Joined: 27.12.2006
Age: 49
With us: 17 years 11 months
Location: Vriezenveen, the Netherlands
Contact:

Post #12by CAP-Team » 21.03.2008, 10:07

Is planetshine already implemented in any SVN version? :mrgreen:
Windows 7 Ultimate x64, Intel Core i7 2600K 3.4 Ghz, 4 GB RAM, 120 GB SSD + 1 TB hdd, nVidia GTX460 1 GB, Celestia 1.6.0.xxxx
Download my latest SVN Build

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

Post #13by chris » 21.03.2008, 17:05

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

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

Post #14by chris » 26.03.2008, 03:10

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

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

Re: Planetshine

Post #15by ElChristou » 26.03.2008, 11:05

Very nice! Cannot wait to test this! :D
Image

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

Re: Planetshine

Post #16by Hungry4info » 26.03.2008, 13:05

Indeed! This is truly awesome!

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

Re: Planetshine

Post #17by Chuft-Captain » 27.03.2008, 02:25

That's awesome Chris!

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

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

Re: Planetshine

Post #18by Chuft-Captain » 27.03.2008, 02:36

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)

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

Re: Planetshine

Post #19by chris » 27.03.2008, 03:09

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

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

Re: Planetshine

Post #20by chris » 27.03.2008, 03:24

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


Return to “Ideas & News”