What is it?

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.

What is it?

Postby chris » Fri Sep 18, 2009 9:09 am

Time for a little game... Here's a screen shot from my development version of Celestia, showing a minor new feature. Can anyone guess what's going on here?

janus1.jpg
Janus


--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: What is it?

Postby Ricardo » Fri Sep 18, 2009 10:17 am

Ring's shadows!
MBP 2.6 GHz Intel 4Go GeForce 8600M GT 512 - osX 10.5.8
Ricardo
 
Posts: 14
Joined: Thu Sep 03, 2009 3:21 pm

Re: What is it?

Postby chris » Fri Sep 18, 2009 11:42 am

Ricardo wrote:Ring's shadows!


That was quick!

The work is part of an effort to clean up and enhance the Celestia's shadow code. The generalization of ring shadows for bodies that aren't themselves encircled by rings was inspired by an entry in Emily Lakdawalla's blog:

http://www.planetary.org/blog/article/00002078/

The Celestia image is quite close to the actual Cassini image (I think frame 8 in the animation...) I think that the differences are due to slightly incorrect size, shape, and perhaps orientation of Janus. For this test, I used a SPICE kernel for the orbit of Janus--the default elliptical orbit isn't nearly accurate enough.

Here's another image of ring shadows, this time on Rhea:

rhea1.jpg
Ring shadows on Rhea


Though I don't have a Cassini image to compare with this time, I think that the shadows should be a little fuzzier. Because Rhea is farther from Saturn than Janus, the apparent size of ring features will be smaller with respect to the apparent size of the Sun, which should tend to blur things out more. This effect is only incompletely accounted for in my model.

EDIT: Forgot to mention... The darker circular region on the lower part of Rhea is a partial eclipse of the Sun by Mimas.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: What is it?

Postby duds26 » Fri Sep 18, 2009 12:12 pm

These are good improvements.
The generalization is a big step forwards.
The blurriness will make Celestia pretty realistic for the mentioned situations.
duds26
 
Posts: 328
Joined: Mon Feb 05, 2007 11:11 am
Location: Europe, Belgium

Re: What is it?

Postby Hungry4info » Fri Sep 18, 2009 2:58 pm

That's amazing Chris! I'm glad to see this 8O :D
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
User avatar
Hungry4info
 
Posts: 1148
Joined: Sun Sep 11, 2005 12:43 pm
Location: Indiana, United States

Re: What is it?

Postby chris » Fri Sep 18, 2009 5:17 pm

Hungry4info wrote:That's amazing Chris! I'm glad to see this 8O :D


Thanks! I thought you might be interested--wasn't it you who pointed out the too-sharp shadows of Uranus' rings quite a while ago?

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: What is it?

Postby Ricardo » Sat Sep 19, 2009 5:46 am

I cannot see this feature in the roadmap (or I missed it?); this is for 1.6.x?
MBP 2.6 GHz Intel 4Go GeForce 8600M GT 512 - osX 10.5.8
Ricardo
 
Posts: 14
Joined: Thu Sep 03, 2009 3:21 pm

Re: What is it?

Postby volcanopele » Sat Sep 19, 2009 4:24 pm

I agree, the issue of the non-point source sun should be addressed, as it would certainly be an issue for the outer satellites in particular, looking at that image of Rhea.

While you've brought this up Chris, is there any chance for the reverse, satellite shadows on the rings, in the new shadow code?
Hands off: C55AFB738D58F4B81D3A4722551D25E1
The Gish Bar Times - A Blog all about Jupiter's Moon Io
volcanopele
 
Posts: 103
Joined: Mon Feb 05, 2007 11:46 am

Re: What is it?

Postby symaski62 » Sat Sep 19, 2009 4:56 pm

vista home basic
intel(R) Pentium(R) Dual CPU E2160 @ 1,80GHz 1,79GHz
1Go RAM
NVIDIA GeForce 8400 GS
directX 11
celestia 1.6
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
symaski62
 
Posts: 581
Joined: Sat May 01, 2004 3:05 pm
Location: france, divion

Re: What is it?

Postby Hungry4info » Sun Sep 20, 2009 1:16 am

chris wrote:
Hungry4info wrote:That's amazing Chris! I'm glad to see this 8O :D


Thanks! I thought you might be interested--wasn't it you who pointed out the too-sharp shadows of Uranus' rings quite a while ago?

--Chris


Yes sir =)
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
User avatar
Hungry4info
 
Posts: 1148
Joined: Sun Sep 11, 2005 12:43 pm
Location: Indiana, United States

Re: What is it?

Postby chris » Mon Sep 21, 2009 1:45 pm

volcanopele wrote:I agree, the issue of the non-point source sun should be addressed, as it would certainly be an issue for the outer satellites in particular, looking at that image of Rhea.


I've already mostly addressed it... It turns out that mipmaps (basically smaller, prefiltered versions of the base texture) give a reasonable visual approximation of the affect of a non-point light source on ring shadows. I wrote some new code that calculates the mipmap level to use based on the resolution of the ring texture and the projected size of the ring shadows. The graphics hardware interpolates between mipmap levels automatically, so the there's no 'jump' between mipmaps as the shadowed object gets further from the rings.

While you've brought this up Chris, is there any chance for the reverse, satellite shadows on the rings, in the new shadow code?

[/quote]

Yes, though some other problems need to be solved first. The shadows need to be volumetric, with the size of the umbra decreasing with increasing distance from the shadow caster. The effects of this are very evident in the Cassini's images of long shadows cast onto the rings near Saturn's equinox. At the moment, the same umbra size is used over the entire shadow--a decent approximation for shadows that aren't dramatically extended along the light-to-occluder direction.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA

Re: What is it?

Postby Hungry4info » Thu Oct 22, 2009 5:20 am

Chris, what does that look like as the equinox passes? Is one side of the ring gradually dimmed as the other is gradually made brighter?
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
User avatar
Hungry4info
 
Posts: 1148
Joined: Sun Sep 11, 2005 12:43 pm
Location: Indiana, United States

Re: What is it?

Postby chris » Tue Oct 27, 2009 4:29 pm

Hungry4info wrote:Chris, what does that look like as the equinox passes? Is one side of the ring gradually dimmed as the other is gradually made brighter?


The abruptness of the transition depends on your viewing geometry. If the Sun is behind you, the transition from lit to unlit side is very abrupt. It's more gradual when the the viewer is facing the Sun. This is (I think) correct for those sections of the rings that are primarily backscattering. Forward scattering of light by the rings is not yet modeled, so there's more work to be done.

I've committed the patch to SVN, so you can try it out yourself now.

--Chris
User avatar
chris
Site Admin
 
Posts: 4218
Joined: Mon Jan 28, 2002 12:21 pm
Location: Seattle, Washington, USA


Return to Ideas & News

Who is online

Users browsing this forum: No registered users and 2 guests