March 2013
Intermediate to advanced
346 pages
8h 4m
English
This recipe covers how to draw 3D objects, handle touch events, and lighten up the objects in OpenGL ES.
Readers are recommended to read the introduction and the Drawing 2D Graphics and Apply Transforms with OpenGL ES 1.x API recipies below before going through this one.
The following steps show how to develop our sample Android project:
CubeG1. Set the package name as cookbook.chapter4.gl1x. Please refer to the Loading native libraries and registering native methods recipe in Chapter 2, Java Native Interface, if you want more detailed instructions.