OpenGl Es A Gentle Introduction

Mr. Nom was a great success. Due to our good initial design and the game framework we wrote, actually implementing Mr. Nom was a breeze. Best of all, the game runs smoothly even on low-end devices. Of course, Mr. Nom is not a very complex or graphically intense game, so using the Canvas API for rendering was a good idea.

However, once you want to do something more complex—say, something like Replica Island—you will hit a wall: Canvas just can't keep up with the visual complexity of such a game. And if you want to go fancy-pants 3D, Canvas won't help you either. So what can we do?

This is where OpenGL ES comes to the rescue. In this chapter we'll first briefly look at what OpenGL ES actually is and does. We'll then focus on using OpenGL ES for 2D graphics, without having to dive into the more mathematically complex realms of using the API for 3D graphics (we'll get to that in a later chapter). We'll take baby steps at first, as OpenGL ES can get quite involved. So, let's get to know OpenGL ES.

0 0

Post a comment