Java Tutorial/Trail: NASA World Wind
NASA World Wind
editNASA World Wind Java is a Java virtual globe application with an extensive set of APIs. The application is licensed under the NASA Open Source Agreement.
Examples for beginners
editSimplestPossibleExample
editThe SimplestPossibleExample.java is a tiny program with about thirty lines of code. It creates a WorldWindowGLCanvas window inside a frame.
HelloWorldWind
editThe program HelloWorldWind.java is only slightly more complex and instantiates a BasicModel.
ApplicationTemplate
editApplicationTemplate.java provides a template for applications based on NASA World Wind and is used by several other programs in the examples directory.
Shutdown
editShutting down NASA World Wind is non-trivial and has its own beginner's example: Shutdown.java.
Apparently the WorldWindow class does have a shutdown
method and the class WorldWind has a static shutDown
method to reset WorldWind to its initial state in order to conserve memory (e.g. for applets that are not currently used).
External links
edit- gov.nasa.worldwind Java API (builds.worldwind.arc.nasa.gov)