![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 232
![]() |
Thank you for your ideas, I added a precision parameter depending on the number of displayed polylines and found a good compromise between performance and precision.
If you have other ideas, don't hesitate, I'm sure I can optimize more ![]() For your interest : one day of traffic from/to Paris : |
|
|
|
|
|
#12 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,623
![]() |
Looks good.
|
|
|
|
|
|
#13 |
|
Worldwind Developer
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
![]() |
Display lists would be basically breaking the design of worldwind code and writing your own "huge polylinelist" renderer. All the vertex data, colour data etc. is pushed into GL at once and stored there, as you pan around the verices are transformed. Since worldwind is having a general switch to VBO's this may not be necessary.
Cheers, what_nick.
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much. Currently blogging at: http://whatnicklife.blogspot.com Working at: Aerometrex - http://aerometrex.com.au/blog/ Impact so far: ![]() |
|
|
|
|
|
#14 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,033
![]() |
Before we offer any advice, would you please describe how you are defining those lines in WW.
If you could post -- or if necessary, send me privately -- KML, shapefile or some other format we can read or quickly write a reader for, that would be maximally helpful. If that's not possible, then any information you can provide that allows us to synthesize a similar use case would be helpful. |
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 232
![]() |
1. One polyline per flight
2. One point every 3s approximately, but I managed to drop unnecessary points : each polyline has about 200-300 points 3. AMSL 4. about 2000 5. never, it's offline datas You can grab my code here http://videso3d.googlecode.com The relevant file is http://code.google.com/p/videso3d/so...acksLayer.java I can send you my files by email if it takes attachments of 10Mo |
|
|
|
|
|
#16 |
|
Worldwind Developer
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
![]() |
For this case I would suggest using Dropbox - it is pretty nifty. Attachments in email are a mess.
Cheers, what_nick.
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much. Currently blogging at: http://whatnicklife.blogspot.com Working at: Aerometrex - http://aerometrex.com.au/blog/ Impact so far: ![]() |
|
|
|
|
|
#17 |
|
weekend warrior
Join Date: May 2008
Posts: 95
![]() |
|
|
|
|
|
|
#18 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,033
![]() |
In the 2/1/2011 release there is an app in the WW perfomance package named VeryManyPaths that draws 2000 paths of 300 positions each. Please run that in your environment. On an old iMac I get close to 20 FPS.
Also in this release is an updated version of Path that uses vertex buffer objects. They have to be explicitly enabled, but VeryManyPaths enables them. Without VBOs the frame rate is slightly lower, but the degree to which it's lower depends greatly on the hardware. |
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 232
![]() |
Thanks. Just waiting for the 2.1.11 build
![]() |
|
|
|
|
|
#20 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 232
![]() |
I activated VBO, but I can't see a difference, except few glitches (vertical exaggeration is not applied directly, you must redraw all the objects ...)
By the way, I now use Path instead of Polyline, and it seems to be much more reactive, without activating VBO. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 04:37 AM |
| Broken Polylines | maltaweel | Development Help | 4 | 06-07-2008 04:38 AM |
| GPS Tracker number of sites limitation? | cilia | Add-ons & Scripts | 0 | 02-25-2008 01:18 PM |
| automatic number of edges on polyline | tcmsimoes | Development Help | 1 | 07-16-2007 05:10 PM |
| convert lat/lon forms, SPC, Metes, make path | Tom Moran | Add-on & Script Development | 21 | 03-06-2006 12:02 AM |