World Wind Forums

Go Back   World Wind Forums > Support > Bug Reports

Bug Reports If you've found a bug in World Wind, discuss it here.

Reply
 
Thread Tools Display Modes
Old 02-03-2006, 04:54 PM   #1
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
James_In_Utah
Default

Hi,
I have been using WW for about a week now and need to be able to accurately plot icons on the screen. I have been using two add-ons that seem to be demonstrating a common problem. The icon is plotted at the correct lat/lon when I am 0 degrees tilt, but not when I am tilted. For instance, from the US Dams XML plugin, the dams seem to change possition on the ground when I tilt the view. I have similar results when I use the AddSavePoints pluging. Below is the code from each of these apps responsible for the possitioning. Is there a better way to do this? Any help would be greatly appreciated!
Thanks,
James




//XML code from US Dams
<Name>PRIETO (1955, GRAVITY, 98 ft)</Name>
<Latitude>
<Value>18.183611</Value>
</Latitude>
<Longitude>
<Value>-66.852222</Value>
</Longitude>
<DistanceAboveSurface>0</DistanceAboveSurface>
<TextureFilePath>Add-ons\Earth\US Dams\icons\high.png</TextureFilePath>
<TextureWidthPixels>124</TextureWidthPixels>
<TextureHeightPixels>124</TextureHeightPixels>
<IconWidthPixels>12</IconWidthPixels>
<IconHeightPixels>12</IconHeightPixels>
<Description>River: PRIETO
Purpose: HYDROELECTRIC
Area: 20 acres
Normal &amp; Max Storage: 285 &amp; 565 acre-ft
Owner: PREPA (FORMERLY PRWRA) (PUBLIC UTILITY)



//Code from Add-Save-Points add-in
ic = new WorldWind.Renderable.Icon(m_name,m_attDi splay,m_lat,m_lon,m_Alt,plugin.ParentApp lication.WorldWindow.CurrentWorld,bitmap FullPath,10,10,m_url);
James_In_Utah is offline   Reply With Quote
Old 02-03-2006, 05:41 PM   #2
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

It's a bug in the way icons are drawn. They are also only shown in the correct location when they are in the center of the screen. Put an icon in the center of the screen and then pan sideways and watch it slide around. The same thing happens with borders.

Setting the terrain exaggeration to zero is the only way to make the icons stay where they are supposed to.
withak is offline   Reply With Quote
Old 02-03-2006, 06:10 PM   #3
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
James_In_Utah
Default

Quote:
Originally posted by withak@Feb 3 2006, 11:41 AM
It's a bug in the way icons are drawn. They are also only shown in the correct location when they are in the center of the screen. Put an icon in the center of the screen and then pan sideways and watch it slide around. The same thing happens with borders.

Setting the terrain exaggeration to zero is the only way to make the icons stay where they are supposed to.

Is this something that might be fixed in a future version? Even if it worked at exaggeration of 1.0 that would be good.
Thanks,
James
James_In_Utah is offline   Reply With Quote
Old 02-03-2006, 06:21 PM   #4
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

Quote:
Originally posted by James_In_Utah@Feb 3 2006, 12:10 PM
Is this something that might be fixed in a future version?
One would think so, but you never know.
withak is offline   Reply With Quote
Old 02-03-2006, 07:24 PM   #5
5of0
Dabbling Geek
 
5of0's Avatar
 
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
5of0 is an unknown quantity at this point
Default

Quote:
Originally posted by withak@Feb 3 2006, 09:41 AM
It's a bug in the way icons are drawn. They are also only shown in the correct location when they are in the center of the screen. Put an icon in the center of the screen and then pan sideways and watch it slide around. The same thing happens with borders.
It's not a bug, more of a side effect. The icons are drawn in the air, so it shows them like they would be. But it has been addressed before, and I'm pretty sure it's on the dev's list of to-dos.
__________________
Note: The above statement is probably an educated guess, derived from much forum reading, IRC chatting, general curiosity, etc. Use at your own risk.
Before asking, check the FAQ or search, and Ask a good question.

Having problems? Make sure you have Managed DirectX and .NET Framework.
Then check the Video Card Compatibility List


5of0 is offline   Reply With Quote
Old 02-04-2006, 12:09 AM   #6
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
James_In_Utah
Default

Quote:
Originally posted by 5of0@Feb 3 2006, 01:24 PM
It's not a bug, more of a side effect. The icons are drawn in the air, so it shows them like they would be. But it has been addressed before, and I'm pretty sure it's on the dev's list of to-dos.

I just played around with this a little bit and it appears to me that the borders do not suffer from this problem like the icons do. Even if I turn exaggeration up to 5, the borders appear to stay above the same spot. They must be using different logic. Can anyone else confirm this?
Thanks,
James
James_In_Utah is offline   Reply With Quote
Old 02-04-2006, 12:15 AM   #7
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
James_In_Utah
Default

Quote:
Originally posted by James_In_Utah@Feb 3 2006, 06:09 PM
I just played around with this a little bit and it appears to me that the borders do not suffer from this problem like the icons do. Even if I turn exaggeration up to 5, the borders appear to stay above the same spot. They must be using different logic. Can anyone else confirm this?
Thanks,
James
Just as a test, I used the AddSavePoints plugin and put a point right at the intersection of two borders. As I tilted and panned, the point moved relative to the ground, but the borders did not. Can anyone point me to logic used to generate the state borders? I would love to be able to do the same thing from my own plugin XML or .CS file.
Thanks,
James
James_In_Utah is offline   Reply With Quote
Old 02-04-2006, 12:19 AM   #8
PSK
Senior Member
 
PSK's Avatar
 
Join Date: Apr 2005
Location: Freiburg/Germany
Posts: 194
PSK
Default

I don't think, vertical exaggeration is relevant for this. try zooming closer to the borders and you will see them move when you tilt the globe.
__________________
http://www.garnichts.net
PSK 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
Launching 1.3 in Full screen Steve Technical Support 10 04-19-2005 10:03 PM
height (vertical) 3d rendering Guest_Daniel_* WorldWind General 4 02-22-2005 01:33 PM
Where does WW store the splash screen BMP? krimson Developers' Corner 4 02-06-2005 07:55 PM


All times are GMT +1. The time now is 07:45 AM.


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