Planetshine
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
Planetshine
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:
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
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
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
-
- Posts: 125
- Joined: 18.12.2003
- With us: 20 years 11 months
- Location: Canada
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?
http://planetary.org/blog/article/00001360/
Is this possible with Celestia?
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
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 authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
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
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
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
-
- Posts: 194
- Joined: 27.12.2006
- Age: 49
- With us: 17 years 11 months
- Location: Vriezenveen, the Netherlands
- Contact:
Is planetshine already implemented in any SVN version?
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
Download my latest SVN Build
-
Topic authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
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.
--Chris
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.
--Chris
-
- Developer
- Posts: 3776
- Joined: 04.02.2005
- With us: 19 years 9 months
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: Planetshine
Indeed! This is truly awesome!
- Chuft-Captain
- Posts: 1779
- Joined: 18.12.2005
- With us: 18 years 11 months
Re: Planetshine
That's awesome Chris!
... Just one question... will this include illumination by Mirrors? (You know what I'm talking about! :wink: )
... Just one question... will this include illumination by Mirrors? (You know what I'm talking about! :wink: )
- Chuft-Captain
- Posts: 1779
- Joined: 18.12.2005
- With us: 18 years 11 months
Re: Planetshine
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)
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 authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
Re: Planetshine
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: <--- 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 authorchris
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
Re: Planetshine
Chuft-Captain wrote:That's awesome Chris!
... Just one question... will this include illumination by Mirrors? (You know what I'm talking about! )
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