World Wind Forums

Go Back   World Wind Forums > WorldWind Development (Other) > Add-on & Script Development

Add-on & Script Development Creating add-ons and scripts for World Wind.

Reply
 
Thread Tools Display Modes
Old 07-19-2008, 03:44 PM   #1
guil
Junior Member
 
Join Date: Jul 2008
Location: Brussel
Posts: 6
Default Modifications on VirtualEarth plugin

I'm working on a new version of the VE plugin

I corrected some bugs concerning column and row wrap-around (tiles from south pole appearing in north pole, tiles with negative row or column indexes)

I removed the need for proj 4, by encoding directly the Mercator projection and simplified some code managing the projection. It should improve slightly the performances.

I also added a transparent border/road/name layer. It looks like this on the blue marble:




If anyone would like to test it and give me some feed back, the code is here :

http://cid-8efce06782cf7eb9.skydrive...rtualEarth.zip
guil is offline   Reply With Quote
Old 07-20-2008, 11:24 PM   #2
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
Default

Wow that transparent mode is great, could you adjust the draw distance when tilted to be bigger? Ideally to the horizon, I'm not sure if that would be too much for low end systems to handle though, maybe a 'view distance' slider? While I'm at it any chance of adding a 'view location in birdseye' button, which would open a birdseye image of the current location (if available) in WW's browser?

Really great job gull.
__________________
Bull_[UK]

bull is offline   Reply With Quote
Old 07-21-2008, 10:27 AM   #3
guil
Junior Member
 
Join Date: Jul 2008
Location: Brussel
Posts: 6
Default

It would be easy to extend the number of tiles displayed when the tilt is important (one line of code). Of course, it would have an impact on performances but this is not the main problem. It would also increase the number of tiles to be downloaded, and this plugin tends to crash when downloading to much tiles at the same time. I'll try to correct this problem first.
guil is offline   Reply With Quote
Old 07-21-2008, 03:52 PM   #4
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

Maybe that explains the behaviour I saw. I zoomed into one area, and I could see the VE tiles. When i zoomed out, panned over to another area, and zoomed in, the VE Icon appeared in the lower right hand corner, but the tiles never displayed on the screen. I attributed it to Microsoft have a bad day.
James
James_In_Utah is offline   Reply With Quote
Old 07-21-2008, 04:32 PM   #5
guil
Junior Member
 
Join Date: Jul 2008
Location: Brussel
Posts: 6
Default

I fixed the bug (I forgot to dispose of some resources). It seems stable on my system now. I don't manage to crash it anymore. I updated the code referenced in my previous post.
guil is offline   Reply With Quote
Old 07-22-2008, 02:55 PM   #6
guil
Junior Member
 
Join Date: Jul 2008
Location: Brussel
Posts: 6
Default

I still updated the code. The main modifications concern the optimisation of the mesh creation algorithm. I worked in radian instead of degrees to reduce angle conversions. I also changed the way it reprojects. The overhead due to Mercator reprojection is now linear in Meshpointcount instead of quadratic previously. This could significantly improve performances when using large Meshpointcount.

I tested the new code under XP with a WIFI connection and under VISTA with a direct cable connection. It worked well in both cases.
guil is offline   Reply With Quote
Old 07-23-2008, 02:17 AM   #7
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
Default

Wow, some nice improvements you have made. I guess now I can stop bitching at people to get it updated
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 10-01-2008, 01:30 AM   #8
Dwayne
Guest
 
Posts: n/a
Default Yes!

Absolutely awesome. After using it for a short period of time I have to say that I am pretty impressed with the updates
  Reply With Quote
Old 10-01-2008, 07:04 AM   #9
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

Very nice. I am seeing some strange bleedthrough when vertical exageration is set to 3X.
James_In_Utah is offline   Reply With Quote
Old 10-01-2008, 05:44 PM   #10
rubencb32
Junior Member
 
Join Date: Sep 2008
Posts: 1
Default

Good new version of the VE plugin
rubencb32 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
My Plugin tutorial doesn't work in WW 1.4 - uotmiem Developers' Corner 4 07-02-2007 02:25 PM
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


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


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