Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

Category: Articles

How to Use OpenGL ES 2 in an Android Live Wallpaper

I’ve recently been looking into creating my first Live Wallpaper for Android as an opportunity to learn more about OpenGL ES and hopefully create something neat at the same time. Throughout our entire series of Android tutorials, we’ve been using GLSurfaceView to take care of the hard work of threading and initialization for us; imagine … Continue reading How to Use OpenGL ES 2 in an Android Live Wallpaper»

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»

How to Embed Webgl into a WordPress Post

Embedding into WordPress This information was originally part of WebGL Lesson One: Getting Started, but I thought it would be more useful if I also broke it out into a post on its own. Embedding WebGL into WordPress can be a little tricky, but if you use the right tags and the HTML editor it … Continue reading How to Embed Webgl into a WordPress Post»