Posted by: Mohamed | 18/06/2011

[PROLOGUE] OpenGL ES 2.0 Android Development

Hello everyone,

I couldn’t post last week because I was quite busy learning/coding an OpenGL ES 2.0 application. And my task was to make an Augmented Reality application/platform using OpenGL ES 2.0.

This is actually my master research, where I have to include shaders and lighting models to enhance the integration of virtual objects with the real scene (i.e. which comes from the camera feed).

While learning I’ve discovered several shocking facts, and here are some of them:

  1. There are few OpenGL ES 2.0 tutorials.
  2. Among the few ones, there are even fewer good OpenGL ES 2.0 tutorials.
  3. No body ever posted how to load OBJ files with OpenGL ES 2.0 (actually there are few, but never posted specific solutions to some issues which I will point out in a later article).
  4. Most OpenGL ES 2.0 good tutorials are written for iPhone development.
Since I have to get results as fast as possible to meet some deadlines, currently I don’t have time to write a good tutorial, but here is what you could expect from the following articles.
But before I start listing what you gonna see/read in the future, I’m expecting that you know at least OpenGL old static pipeline and you are good with it! I will not explain the programming language (which is in our case is going to be Java ), and I believe if you want to go through OpenGL then I expect that you know how to code already ;).
Please note as well that all my code I tested it on HTC Desire HD, and I didn’t use any emulators (because it was impossibly slow), so I expect that you gonna run the application on OpenGL ES 2.0 capable device.
And here is what you should expect from this series:
  1. Making basic classes for setting up “a comfortable to work with” OpenGL ES 2.0 Application.
  2. Rendering our first cube!
  3. Rotating the cube with the accelerometer.
  4. Overlaying OpenGL render over the camera feed which establishes the bases of an AR app.
  5. Loading OBJ File (the Obj files are exported from Autodesk Maya).
Actually my development has stopped at “5” until now. Once I develop the application further, I will add more tutorials and will share the source code as well ;).
Stay tuned for the first tutorial ;).


  1. Hey, i would like to see if you can continue your tutorials; looking forward

    • I’m just writing my master thesis, hopefully will finish very soon. So for sure I’m gonna continue working on this series ;).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: