09-05-2012, 10:14 AM
Android Programming 3D Graphics with OpenGL ES
Android 3D with OpenGL ES with Nehes Port.pdf (Size: 465.22 KB / Downloads: 71)
Introduction
[TODO]
Graphics-API Demo for OpenGL ES: Sample codes at $ANDROID_HOME\samples
\android-8\ApiDemos under graphics (or http://developer.androidresources/samples/
ApiDemos/src/com/example/android/apis/graphics/index.html).
2. Getting Started with 3D Graphics on Android
OpenGL ES
Android supports OpenGL ES defined in javax.microedition.khronos.opengles. The API is
available at http://download.oraclejavame/config/cldc...index.html. The
mother interface is GL, with its sub-interfaces GL10, GL10Ext, GL11, GL11Ext,
GL11ExtensionPack (OpenGL ES 1.0, OpenGL ES 1.1, and Khronos-defined core extensions).
GLSurfaceView
For 3D graphics programming, you need to program you own custom view, instead using XML-layout.
Fortunately, a 3D OpenGL ES view called GLSurfaceView is provided, which greatly simplifies our
tasks.
Read "Introducing GLSurfaceView" at
glsurfaceview.html.
I shall use the Nehe's Lessons (http://nehe.gamedev.net) to illustrate Android 3D programming