Introducing 3D Custom Views

In previous chapters, we've seen how to implement custom views using the Android 2D graphics library. That would be our most common approach, but sometimes, we might need some more horsepower because of additional render particularities or the requirements of our custom view. In those cases, we might use OpenGL for Embedded Systems (OpenGL ES) and enable 3D rendering operations in our view.

In this chapter, we'll see how to use OpenGL ES in our custom views and show a practical example of how we can build one. With more detail, we will cover the following topics: