World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 11-02-2009, 10:18 PM   #1
jas511
Senior Member
 
Join Date: Aug 2009
Posts: 244
jas511 is on a distinguished road
Default Rendering Markers on the Surface

Previously in my application when I wanted to render markers on the surface, I just set the marker layer setOverrideMarkerElevation to true. However, I have some cases where I want to explicitly set the elevation of some markers, but render others on the surface. I tried rendering the surface ones at the elevation of the lat/lon it was being rendered it (obtained through the globe), but I'm still finding that certain points get "hidden" when I zoom in too close. I'm wondering if maybe elements at other layers are being rendered at a higher elevations which might hide the marker. Any thoughts on how to accomplish some points on the surface and others at my chosen elevation?

thanks,
Jeff
__________________
Jeff Storey
Software Developer
http://jeffastorey.blogspot.com
jas511 is offline   Reply With Quote
Old 11-07-2009, 02:51 PM   #2
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

When you get an elevation value for a given lat/lon, you get the currently available value that may not be the most accurate depending how much elevation data has been loaded by the client. In other terms, elevations returned by the globe and the underlying elevation model can vary over time and you need to 'refresh' your markers elevation at regular intervals to keep them in sync with the terrain surface.

For instance, the terrain tesselator rebuilds its surface geometry tiles every second. Airspace and ContourLine do also reassess they shapes at intervals.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris 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
0.6SDK surface shape rendering behaviour Bladerunner Development Help 2 07-12-2011 03:05 AM
Surface shapes rendering performance DanPngc12 Development Help 27 12-17-2009 11:46 PM
Surface Image Rendering jas511 Development Help 6 08-12-2009 04:57 PM
[Solved] Disappearing/Reappearing Markers Andrew Fresquez Development Help 4 04-01-2009 11:39 PM
Snapshot Error jediwashuu Bug Reports 4 11-06-2004 03:39 AM


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


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