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

Exercises

See if you can add some color interpolation to the line cutting across the middle of the screen. For a more challenging exercise, how would you change the triangles that make up the air hockey table so that the edges are less visible? Hint: You can try adding more triangles to the fan.

Once you’ve completed these exercises, we’ll start to learn about vectors and matrices and learn how we can fix a pesky problem that appears when we rotate from portrait to landscape.

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