Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

Category: Android

Android Lesson Eight: An Introduction to Index Buffer Objects (IBOs)

In our last lesson, we learned how to use vertex buffer objects on Android. We learned about the difference between client-side memory and GPU-dedicated memory, and the difference between storing texture, position and normal data in separate buffers, or altogether in one buffer. We also learned how to work around Froyo’s broken OpenGL ES 2.0 … Continue reading Android Lesson Eight: An Introduction to Index Buffer Objects (IBOs)»

Android Emulator Now Supports Native OpenGL ES2.0!

For those of you who may have missed it, the Android team recently released an upgraded emulator image that has support for native OpenGL ES 2.0! That’s right; not only is it now supported, but the calls are translated to desktop OpenGL so they can be accelerated by your native graphics layer. It’s still better … Continue reading Android Emulator Now Supports Native OpenGL ES2.0!»

OpenGL ES Roundup, March 9, 2012

Thank yous and mentions A big thank you goes to the following guys who have recently kindly featured Learn OpenGL ES: The Khronos Group. The Khronos Group is a non-profit, member-funded consortium dedicated to open and royalty-free standards for graphics, parallel computing, and dynamic media. There is a lot of cool stuff going on over … Continue reading OpenGL ES Roundup, March 9, 2012»

Android Lesson Seven: An Introduction to Vertex Buffer Objects (VBOs)

In this lesson, we’ll introduce vertex buffer objects (VBOs), how to define them, and how to use them. Here is what we are going to cover: How to define and render from vertex buffer objects. The difference between using a single buffer with all the data packed in, or multiple buffers. Problems and pitfalls, and what … Continue reading Android Lesson Seven: An Introduction to Vertex Buffer Objects (VBOs)»

Listening to Android Touch Events, and Acting on Them

We started listening to touch events in Android Lesson Five: An Introduction to Blending, and in that lesson, we listened to touch events and used them to change our OpenGL state. To listen to touch events, you first need to subclass GLSurfaceView and create your own custom view. In that view, you create a default … Continue reading Listening to Android Touch Events, and Acting on Them»

Android Lesson Six: An Introduction to Texture Filtering

In this lesson, we will introduce the different types of basic texture filtering modes and how to use them, including nearest-neighbour filtering, bilinear filtering, and trilinear filtering using mipmaps. You’ll learn how to make your textures appear more smooth, as well as the drawbacks that come from smoothing. There are also different ways of rotating … Continue reading Android Lesson Six: An Introduction to Texture Filtering»

OpenGL ES Roundup, February 12, 2012

If you haven’t checked it out yet, I recommend taking a look at the new Android Design website. There are a lot of resources and interesting information on developing attractive apps for Ice Cream Sandwich, Android’s newest platform. With Ice Cream Sandwich comes new changes, such as the deprecation of the menu bar. Roundup Rasberry … Continue reading OpenGL ES Roundup, February 12, 2012»

Google Celebrates 10 Billion Downloads on the Market: Several Great Apps Available for Only 10 Cents Each!

Android is booming very rapidly, and the market share has gone from nothing to dominating the market, within only a couple of years. I still remember when just a bit more than a year ago, competitors still thought that Android was only going to fill a niche market, and that it was “clunky” and “slow”. … Continue reading Google Celebrates 10 Billion Downloads on the Market: Several Great Apps Available for Only 10 Cents Each!»

OpenGL ES Roundup, October 4, 2011

Diney from db-in.com has a great introduction to shaders up at his site. He annotates his post with useful diagrams and also has a clear and neat introduction to tangent space. Learning WebGL has a cool roundup of WebGL around the web. The NeHe OpenGL site is alive! They are starting to post updates on … Continue reading OpenGL ES Roundup, October 4, 2011»