3D Engine Design for Virtual Globes Cover
Home TOC Back Cover Reviews Code Figures Bibliography BibTeX Errata Blog

Example Code

Fork me on GitHub
OpenGlobe, the example code for our book written in C# and OpenGL 3.3, is available as a zip file here with simple build instructions:

Windows Build Instructions

Tested on Windows XP, Vista, and 7
  1. Download and unzip the code (30.8 MB).
  2. Upgrade your video card drivers [NVIDIA | ATI]. OpenGL 3.3 is required.
  3. If necessary, install Visual Studio 2010 or later. The free express edition is sufficient.
  4. Open <unzip path>\Source\OpenGlobe.sln in Visual Studio.
  5. Right click the solution in the Solution Explorer and click Build Solution.

    Build Solution

  6. To run an example, right click on the project in the Solution Explorer, and click Set as Startup Project, then hit F5.

Linux Build Instructions

Tested on Ubuntu 10.04 (Mono 2.4.4), 10.10 (Mono 2.6.7), and 11.04 (Mono 2.6.7)
  1. Download and unzip the code (30.8 MB).
  2. Upgrade your video card drivers [NVIDIA | ATI]. OpenGL 3.3 is required.
  3. Ubuntu 11.04 Only: sudo apt-get install libx11-dev
  4. If necessary, install MonoDevelop 2.4 or later: sudo apt-get install monodevelop
  5. Open <unzip path>/Source/OpenGlobe.sln in MonoDevelop.
  6. Right click the solution, and click Build OpenGlobe.

    Build Solution

  7. To run an example, right click on the project and click Run Item.
Also check out OpenGlobe on GitHub.