- download WorldWind SDK http://worldwind.arc.nasa.gov/java/
- extract worldwind-1.2.0.zip
- start Eclipse
- create project named My3DStarter
- copy content of the worldwind-1.2.0.zip to project folder (my3D)
- check for reference libraries. There should be at least: jogl.jar, gluegen-rt.jar, plugin.jar, gdal.jar
You may consider to start with HelloWorldWind and ApplicationTemplate.
To start your own application it is good idea to use ApplicationTemplate as a starter:
- create new Java Class (test.ww3d.MyApp) and copy source code from ApplicationTemplate Class
- rename package name and class name as it was originally named
- change the main method -> MyApp("Up and running :-)", AppFrame.class);
- add import -> import gov.nasa.worldwindx.examples.*; (or if you want you can add one line for each class that is actually needed)
- run it!
No comments:
Post a Comment