With the exception of Chapter 5, Introducing 3D Custom Views, where we explained how to build custom views using OpenGL ES, all the other examples in this book use the 2D drawing methods available from the Canvas class. In the last two chapters, we have seen how to build slightly more complex custom views, but none of them were using any 3D rendering techniques. So, in this chapter, we will show how to build and customize a full custom 3D view and how to interact with it.
With more detail, we will cover the following in this chapter:
- Adding interactions to a 3D custom view
- Adding a GestureDetector to manage complex gestures
- Using a scroller to manage scroll and fling gestures
- Rendering text into textures and drawing them on OpenGL ES
- Generating geometry programmatically