![]() |
|
|||||||
| Developers' Corner General World Wind development. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Aug 2005
Posts: 317
|
I refactored Icons and Icon so that Icon can be subclassed in trunk.
Most of the functions performed in Icons has been moved down into Icon while preserving the ability to batch render within one Sprite.Begin/End block. Calling Icon.Render should work but much more slowly. Worked in my test rig. I believe we can create a KMLIcon from Icon and move all the KMLIcon specific code there...I put in enough hooks that we can modify most pieces of the render. We can also create a "fast" icon that skips a lot of the new features to render as quickly as it can. Please verify that I didn't break anything. I tested with the EarthQuake plugin so I didn't test: Moving Icons Icons that get their image from over the net Icons with an overlay (key) Icons that are KMLIcons Icons that update themselves after some time period Thanks! Nigel |
|
|
|
|
|
#2 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
|
Where are your changes?
|
|
|
|
|
|
#3 |
|
Bored Explorer
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,737
|
In the SVN (/trunk) rev. 3798
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2005
Posts: 317
|
Updated to have pre and post render calls to Icon so you can have specialized behavior even if the icon itself doesn't render (for example overlays).
Also added TrackIcon as an example of how to extend the Icon class. |
|
|
|
![]() |
| 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 |
| Plugin: My favorite Icons - Add Icons/Favorite | canosso | Add-ons & Scripts | 26 | 03-02-2010 04:06 AM |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 05:37 AM |
| Remove icon in object Icons | brasio | Developers' Corner | 1 | 02-14-2007 02:31 AM |
| Adding RIght Mouse Click to Icons | nigel_ht | Developers' Corner | 0 | 04-12-2006 03:39 PM |
| add Urban Area mode as an icon on the toolbar! | Phil T | Add-ons & Scripts | 10 | 02-25-2005 05:48 PM |