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 07-16-2012, 09:47 PM   #1
BraydenJames
Junior Member
 
Join Date: May 2010
Location: Layton, UT
Posts: 23
BraydenJames is on a distinguished road
Question Objects over ScreenAnnotation

After some testing and research, I've decided to see if anyone can give me a quick fix for this!

For a project I'm working on, I have the need for a large screen annotation in the middle of the screen, with the globe behind it. This is obviously fine! The weird part is, however, I need GlobeAnnotation objects as well, and I need them to actually appear in front of the ScreenAnnotation object. It seems, however, that no matter what order I add the AnnotationLayers (Globe & Screen), the ScreenAnnotation is in the very front (on top). I understand that this is probably the expected behavior, but is there a simple/obvious way for me to override this behavior?

I also have the need to view Renderable objects on top of the ScreenAnnotation as well. This is all sort of the same issue. Basically, I need to be able to place an annotation in a fixed position (A ScreenAnnotation/ScreenImage, irrelevant to geocoords) but still be able to have geo-rectified objects appear in front of it.

Any ideas?

Thanks!
BraydenJames is offline   Reply With Quote
Old 07-17-2012, 01:46 PM   #2
heidtmare
Senior Member
 
heidtmare's Avatar
 
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 678
heidtmare is on a distinguished road
Default

try extending the ScreenAnnotation to make doRenderNow(...) call draw(...) instead of drawTopLevelAnnotation(...), that'll probably get you moving in the right direction.
heidtmare 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
KML Parsing & Airspace Objects iliTheFallen Development Help 8 10-09-2010 06:48 PM
Another question on picking multiple objects tmorrison Development Help 0 09-23-2010 04:22 PM
Performance with Objects Kashank Development Help 6 01-07-2010 03:34 PM
SelectListener and SphereAirspace objects kermit Development Help 3 05-06-2009 06:48 PM
[Solved] Icons/annotations not visible through quadrics object? (but 3d objects are) elevenette Development Help 2 10-15-2008 08:42 PM


All times are GMT +1. The time now is 10:25 AM.


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