Skip to content
Jeremiah van Oosten edited this page Oct 19, 2026 · 4 revisions

vgl (Virtual Globe Library)

vgl is a lightweight, open-source C++ library for rendering a virtual globe inside an existing application, behind a C API. It streams level-of-detail terrain and imagery on the WGS84 ellipsoid and draws it through backends for OpenGL / OpenGL ES, Direct3D 11 and Ogre, on Windows, Linux, macOS, Android, iOS and in web browsers. This wiki is the integrator's guide: how to build vgl, embed it in an application, bake data for it and serve that data.

Status: vgl 1.0 is released (release notes). The C ABI stays compatible within major version 1; the changelog lists every change.

Where to start

Contents

Getting vgl

Using the library

Rendering

Data

Reference

Specifications

The specifications live in the repository, next to the code they describe, and are the source of truth. The wiki summarizes them and links to them.

Editing this wiki

The wiki is a git repository of Markdown pages, checked out in the main repository as the wiki submodule. To edit it locally:

git submodule update --init wiki
cd wiki
git switch master
# edit or add pages: Page-Name.md becomes the page "Page Name"
git commit -s -m "Describe the change"
git push

Then record the new wiki revision in the main repository with git add wiki and a commit. Pages edited on GitHub land in the same repository; git -C wiki pull brings them in.

Clone this wiki locally