O'Reilly logo

OpenGL ES 2 for Android by Kevin Brothaler

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 6Entering the Third Dimension

Imagine that you’re at an arcade, standing in front of an air hockey table and looking over the table toward your opponent. What would the table look like from your perspective? Your end of the table would appear larger, and you would be looking down at the table from an angle, rather than from directly overhead. After all, nobody plays a game of air hockey by standing on top of the table and looking straight down.

OpenGL is great at rendering things in 2D, but it really begins to shine when we add a third dimension to the mix. In this chapter, we’ll learn how to enter the third dimension so we can get that visual feel of staring down our opponent from across the table.

Here’s our game plan for the chapter: ...

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