O'Reilly logo

OpenGL Distilled by Paul Martz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Transformation and Viewing

Perhaps the most common problem encountered by programmers who are new to OpenGL is the blank screen; executing an OpenGL program produces an empty window rather than a rendered image. Although several application problems can cause this result, the most common cause is misconfiguring the OpenGL transformation pipeline. To avoid blank screens, you need to be adept at controlling the OpenGL transformation state.

OpenGL provides a powerful, flexible set of routines for controlling transformation and viewing. This programming interface isn’t always straightforward, however, especially if it’s been a few years since you opened a linear-algebra textbook. OpenGL doesn’t provide a “place the camera here” command, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required