Digitize points using OpenGL


Purpose This sample demonstrates how to draw on the globe using the OpenGL plug-in. It shows how to implement display feedback (drawn as a response to mouse events) as well as information that gets stored in a user-defined data structure. This sample focuses on listening to globe events; creating OpenGL display lists and textures; and translating, scaling, and bill boarding items.

How to use

See How to use ArcGIS samples for help running the sample.

  1. Run the sample.
  2. Click the Digitize Points tool on the toolbar.
  3. Click and drag points on the globe surface. When you release the mouse button, a billboard icon is added at the mouse position.





Additional Requirements
  • When importing this project into Eclipse, you must also import the jogl_libraries project under $ARCGISHOME/java/samples/engine/lib, which provides the necessary JOGL jars.
  • When running the sample, you must provide the Djava.library.path=<path_to_jogl_bin_folder> VM argument. The value of this argument depends on the operating system you're using. For Windows, it will be similar to <ARCGISHOME>/java/samples/engine/lib/jogl-libraries/jogl-1.1.0-windows-i586/bin.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView