![]() |
|
|||||||
| Bug Reports If you've found a bug in World Wind, discuss it here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
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 & Max Storage: 285 & 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); |
|
|
|
|
|
#2 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
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. |
|
|
|
|
|
#3 | |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Quote:
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 |
|
|
|
|
|
|
#4 | |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
Quote:
|
|
|
|
|
|
|
#5 | |
|
Dabbling Geek
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
![]() |
Quote:
__________________
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
|
|
|
|
|
|
|
#6 | |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Quote:
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 |
|
|
|
|
|
|
#7 | |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Quote:
Thanks, James |
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Apr 2005
Location: Freiburg/Germany
Posts: 194
![]() |
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 |
|
|
|
![]() |
| 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 |
| 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 |