project logo

osgEarth Quickstart

osgEarth is a scalable terrain rendering toolkit for OpenSceneGraph.

This Quick Start describes how to start a 3D globe with different overlays.

Running osgearth_viewer

  • Open a console and start the osgearth viewer:

    export OSG_FILE_PATH=/usr/share/osgearth
    osgearth_viewer --window 50 50 900 700 /usr/share/osgearth/maps/srtm.earth
    

You should see a globe with satellite imagery.

  • Click to navigate; right-click or scroll wheel to zoom in and out.
  • Drag mouse with left+right click for tilt.
  • Press h for help.
  • Hit the ESCAPE key to quit.

Running osgviewer with an OpenStreetMap overlay

  • In a console, type:

    osgviewer /usr/share/osgearth/maps/openstreetmap.earth
    
  • Press h for help. See also openscenegraph.org for more help.

What Next?

To learn more about osgEarth, a starting point is the Documentation page in the Wiki.

Copyright & Disclaimer