World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 06-15-2012, 06:42 PM   #1
bdrummon
Junior Member
 
Join Date: Jan 2012
Posts: 28
bdrummon is on a distinguished road
Default Day/Night shading

Hello,

I searched around for information on day/night shading and or a terminator, but all the information was pretty old. What's the status of such a thing in WWJ? I suppose I could write up a simple terminator line to do what I need, but it would be nice to have proper shading from the sun.

Thanks,
-Brandon
bdrummon is offline   Reply With Quote
Old 06-16-2012, 03:04 PM   #2
vash
Senior Member
 
Join Date: May 2007
Location: Toulouse
Posts: 120
vash is on a distinguished road
Default

JSatTrak (http://www.gano.name/shawn/JSatTrak/) has this functionnality. It adds to the historical experimental sun shader included in worldwind java the day/night line and the ability to render the Sun with a correct position according to a date.

The JSatTrak code isn't really easy to understand and directly reusable but you have the class SunTerminatorPolyLineTimeDep that implements what you want I think. (http://jsattrak.svn.sourceforge.net/...00&view=markup)
__________________
-Nicolas CASTEL- Thales Alenia Space, Toulouse, France-
vash is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Day/Night terminator heidtmare Development Help 2 05-24-2012 11:18 AM
Sun Shading? MicheleMarcon Development Help 14 07-30-2008 10:03 PM
Sun shading and Atmospheric scattering bull Builds 21 12-15-2006 07:07 AM
Pan Speed Adjustment, Day/Night Time, Hi-Res Cities/Etc. Soniclight Technical Support 3 11-20-2006 07:31 AM
few suggestions (keyframing, shading, camera...) Jakub Suggestion Box 3 01-27-2005 07:20 PM


All times are GMT +1. The time now is 02:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.