All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.gov.nasa.worldwindx.examples.multiwindow.package.html Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show newest version







    Multi-Window examples



Examples of how to use multiple WorldWind globes in the same application.

Applications using multiple World Wind windows simultaneously should instruct World Wind to share OpenGL and other resources among those windows. Most World Wind classes are designed to be shared across {@link gov.nasa.worldwind.WorldWindow} objects and will be shared automatically. But OpenGL resources are not automatically shared. To share them, a reference to a previously created WorldWindow must be specified as a constructor argument for subsequently created WorldWindows.

Most World Wind {@link gov.nasa.worldwind.globes.Globe} and {@link gov.nasa.worldwind.layers.Layer} objects can be shared among WorldWindows. Those that cannot be shared have an operational dependency on the WorldWindow they're associated with. An example is the {@link gov.nasa.worldwind.layers.ViewControlsLayer} layer for on-screen navigation. Because this layer responds to input events within a specific WorldWindow, it is not sharable. Refer to the World Wind Overview page for a list of layers that cannot be shared.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy