Chapter 3. Interactive 3D Data Visualization

In this chapter, we will cover the following topics:

  • Setting up a virtual camera for 3D rendering
  • Creating a 3D plot with perspective rendering
  • Creating an interactive environment with GLFW
  • Rendering a volumetric dataset – MCML simulation

Introduction

OpenGL is a very attractive platform for creating dynamic, highly interactive tools for visualizing data in 3D. In this chapter, we will build upon the fundamental concepts discussed in the previous chapter and extend our demos to incorporate more sophisticated OpenGL features for 3D rendering. To enable 3D visualization, we will first introduce the basic steps of setting up a virtual camera in OpenGL. In addition, to create more interactive demos, we will introduce ...

Get OpenGL Data Visualization Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.