World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Feature Discussion

Feature Discussion Education, discussion and proposals of WWJ features

Reply
 
Thread Tools Display Modes
Old 06-28-2012, 07:52 PM   #31
nlneilson
Super Moderator
 
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,623
nlneilson is on a distinguished road
Default

Quote:
Originally Posted by ToddWebb View Post
just a problem in need of a solution, maybe one I will develop.
Check to see how others have optimized code.
A solution you can use may have been done by others or the concept to cut the data fed in to be displayed.

Just remember there is no need to paint the same pixel multiple times.
__________________
Neil
http://www.nlneilson.com
nlneilson is offline   Reply With Quote
Old 06-29-2012, 05:22 PM   #32
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,033
tag is on a distinguished road
Default

The way to deal with large amounts of data is to divide and conquer. The easiest way to do that in WW is to organize your shapes by layer and set the layer min/max active altitude to show the shapes only when they're discernible or when the user elects to see them (selects the layer as visible).

Another way to do it is to sort them spatially and combine that with the above.

WW is already avoiding rendering shapes that aren't visible.

The key principle is that you can't put everything on the screen at once, so you have to be selective about what you put on the screen. And if the data volume is especially huge, you can't even have everything in memory at once, so you have to be selective about what's in memory.

Another technique is to create levels of detail, typically a texture, and display that until the user's view point is close to the actual shapes.
tag 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
ESRI Shapefile Status David Lockwood Builds 69 03-08-2010 11:20 AM
ESRI Shapefile xml coloradokid Add-ons & Scripts 28 03-03-2010 11:57 AM
SOC shapefile support changes? James_In_Utah Developers' Corner 5 10-30-2006 04:10 PM
Shapefile and shadow point Brian in Atlanta Technical Support 5 07-21-2006 03:47 AM
Howto: shapefile to WW conversions Robb Add-on & Script Development 4 06-17-2005 01:46 AM


All times are GMT +1. The time now is 12:08 PM.


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