Chapter 11. Heads Up

In this chapter, we will put some finishing touches on Space Racer 3D by adding some features that you would see in almost any game. Many of these features are similar to the finishing touches that we put on our Robo Racer 2D game, though there are some special considerations now that we are working in 3D. The topics that we will cover include the following:

  • 2D in a 3D world: So far, we learned how to render in 2D and how to render in 3D. However, there are special considerations to create 2D in a 3D world. As our user interface is typically created in 2D, we will learn how to mix the two types of rendering.
  • Creating a heads-up-display (HUD): It is very typical for first-person 3D games to have a continuous status showing information ...

Get OpenGL Game Development By Example 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.