World Wind Forums

Go Back   World Wind Forums > Community > Add-ons & Scripts

Add-ons & Scripts Find add-ons, scripts, and utilities for World Wind.

Reply
 
Thread Tools Display Modes
Old 02-04-2007, 09:47 PM   #1
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default Global flood plugin

This plugin renders a "flood" at a specified elevation.





Right-click -> Properties on the layer to get the control window.

http://pneumatictu.be/FloodLevel.cs

It causes crazy rendering artifacts when the terrain isn't loaded, and often when the terrain is loaded. Raising the terrain exaggeration decreases the artifacts.

It is made for WW 1.4, but it may work in 1.3.5.

Last edited by withak; 03-31-2007 at 04:18 PM.
withak is offline   Reply With Quote
Old 02-05-2007, 12:25 AM   #2
Guest_Jim_*
Needs a life
 
Join Date: Dec 2005
Posts: 698
Default

Awesome
__________________
I don't spread the word, I spread the world!
Road Map for World Wind development and release
I do not know .Net or DirectX.
Guest_Jim_* is offline   Reply With Quote
Old 02-05-2007, 03:09 AM   #3
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

The link in the first post now points to 0.2, which turns the flood off when the camera is high enough for no terrain to show. I also bumped up the number of vertices on the flood mesh, which seems to cut down on the rendering artifacts a little bit.

For best results, turn the vertical exaggeration up to 20x in the alt-w window.
withak is offline   Reply With Quote
Old 02-05-2007, 04:53 AM   #4
woodse
A Really Nice Guy
 
Join Date: Sep 2004
Posts: 71
Default

Very entertaining.
Back when I was in grad school I did a mock-presentation where I used remote sensing software, photoshop and other programs to alter data to give some weirdf effects and results. One of these projects was to fill the grand canyon up with blood, which this reminds me of.

On a serious note though this could be a very useful tool for particular applications.
woodse is offline   Reply With Quote
Old 02-05-2007, 05:15 AM   #5
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

Piece of cake.

http://pneumatictu.be/grandcanyonfullofblood.png


It is very handy for looking at terrain though. Pat Murris said in irc that it's kind of the opposite of the terrain section in MeasureTooNG because it lets you cut a horizontal section instead of a vertical section.
withak is offline   Reply With Quote
Old 02-05-2007, 05:23 AM   #6
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

Problem is for simulating a realistic, 'few' meters sea level rise, ZBuffer clipping and SRTM data are probably not fine enough...

From the UN/IPCC 2007 report (page 13)
Quote:
...If a negative surface mass balance were sustained for millennia, that would lead to virtually complete elimination of the Greenland ice sheet and a resulting contribution to sea level rise of about 7 m. The corresponding future temperatures in Greenland are comparable to those inferred for the last interglacial period 125,000 years ago, when paleoclimatic information suggests reductions of polar land ice extent and 4 to 6 m of sea level rise.
However, a 1000m sea level rise would do a nice job on the Alps too
Nice job, i love the idea!
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 02-05-2007 at 05:53 AM.
patmurris is offline   Reply With Quote
Old 02-05-2007, 05:31 AM   #7
Chade
Senior Member
 
Join Date: Apr 2006
Posts: 404
Default

Hellooooo Waterworld.
__________________
Machine. Unexpectedly, I’d invented a time
- Alan Moore
Chade is offline   Reply With Quote
Old 02-05-2007, 05:53 AM   #8
zian
Junior Member
 
Join Date: Dec 2006
Posts: 29
Default

Impressive

Unfortunately, I tend to get the following error message after a few seconds:
The following error(s) occurred:
Error in the application.
Unexpected logging error on write(2)
Insufficient system resources exist to complete the requested service.

zian is offline   Reply With Quote
Old 02-05-2007, 05:55 AM   #9
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

I've seen some Console.Write() code in there... may be related...
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 02-05-2007, 02:39 PM   #10
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

You can comment out the lines that start "Console.Write"; those are there because I was having mesh connectivity issues for a while. I commented them out in the version at the link in the first post.

Last edited by withak; 02-05-2007 at 02:47 PM.
withak 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
Favorites / Bookmarks plugin Dugrhill Add-ons & Scripts 21 02-27-2010 05:59 AM
Build PluginEngine as a Class Library DLL to support binary DLL plugin development gohyongkwang Suggestion Box 1 08-24-2006 06:47 AM
HELP, PLUGIN FREEZES !!!! Unregistered Add-on & Script Development 10 07-10-2006 10:52 AM
stereo viewer plugin jumpjack Add-ons & Scripts 15 08-19-2005 09:48 PM
Develop my own plugin Mandrake Add-on & Script Development 2 07-15-2005 08:47 AM


All times are GMT +1. The time now is 04:38 PM.


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