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 08-01-2012, 12:22 AM   #1
wobster
Senior Java Developer/Consultant
 
Join Date: Oct 2007
Location: Austin, Texas
Posts: 115
wobster is on a distinguished road
Default Using KML snippets or using Symbology library to describe composite objects?

I would like to render objects (such as airplanes, boats and cars) that have a combination of annotated text, user facing Icons (or perhaps a 3D model), dynamically changing velocity vectors and other dynamic attributes. There isn't a built in way to do this right now with the core library classes without some custom code (since some of the core classes like UserFacingIcon are not Renderables) or without using multiple layers except perhaps for the KML and Symbology parts of the library.

Has anybody tried using KML snippets or the Symbology base classes to render such objects or have an opinion on using such an approach for say hundreds of dynamically changing composite objects?

(At some point, it'd be nice if all of the core objects implemented Renderable to make it easier to create composites.)

Thanks,

Rob
wobster is offline   Reply With Quote
Old 08-02-2012, 05:22 PM   #2
pabercrombie
WW Dev. Team
 
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
pabercrombie is on a distinguished road
Default

You could do this by extending the Symbology base classes. AbstractTacticalSymbol provides the ability to draw an icon, draw text, and draw a line that you could use for the velocity indicator.

By KML snippets do you mean constructing a KML doc that includes a placemark with text and a path to indicate direction? That would work. Or you could do that manually in WW using PointPlacemark and Path, if you didn't want to go through KML.

I would probably start with the Symbology classes, since it sounds like what you want isn't too far off from what they provide.
pabercrombie 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
how to move composite objects Antuano Development Help 0 02-17-2011 08:18 AM
KML Parsing & Airspace Objects iliTheFallen Development Help 8 10-09-2010 06:48 PM


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


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