|08-01-2012, 12:22 AM||#1|
Senior Java Developer/Consultant
Join Date: Oct 2007
Location: Austin, Texas
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.)
|08-02-2012, 05:22 PM||#2|
WW Dev. Team
Join Date: Sep 2010
Location: Boston, MA, USA
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.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|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|