GLG Java Demo: Aircombat Simulation
This demo uses a GLG Bean to run the dog
fight simulation in the browser, demonstrating the following GLG
Toolkit features:
Dynamic creation of
aircraft
and missile icons
Updating dynamic objects in
2D
or 3D on top of a map
Changing icon attributes to
display selection, change size, etc.
Selection feedback
Displaying information and
position of selected objects
Zooming and Panning
Layering (toggling map
display)
The drawing was created using the GLG
Graphics
Builder.
The demo uses similated data. However,
provided
with a data source, it can also display live data.
User Interaction:
To display an aircraft's or
missile's location, select it with the mouse. To close the
popup display, click on it.
Use buttons to change the size
of
moving planes, enable or disable the map display, and restart the
animation.
Use sliders at the bottom to
zoom
and pan
Source Code