Chapter 7. Viewing the World

The viewer's observation of the scene graph is the result of transforming the 3D world into a 2D image, which is done by a rendering engine in real-time. Assuming that a virtual camera is employed for observing and recording the 3D world and its dynamic changes, then its movement, angle, focal distance variation, and a different lens type will change the rendering results and this is exactly the way that in which we change the view we can see on the screen.

This chapter will mainly focus on:

  • Understanding the coordinate system defined in OpenGL
  • Alternating the view point and orientation, projection frustum, and final viewport
  • Changing and controlling the rendering order if there exists more than one camera.
  • How to create ...

Get OpenSceneGraph 3.0 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.