Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

Category: WebGL

Finishing Up Our Native Air Hockey Project With Touch Events and Basic Collision Detection

In this post in the air hockey series, we’re going to wrap up our air hockey project and add touch event handling and basic collision detection with support for Android, iOS, and emscripten. Prerequisites This lesson continues the air hockey project series, building upon the code from GitHub for ‘article-3-matrices-and-objects’. Here are the previous posts in this series: … Continue reading Finishing Up Our Native Air Hockey Project With Touch Events and Basic Collision Detection»

OpenGL Roundup, November 4, 2013

Android 4.4 for Game Developers APPS WORLD LONDON 2013 New Adventures in C++ with Cinder and More Objectively Stylish — The NYTimes Objective-C style guide. Vivante Unveils Less than 1 mm2 OpenGL ES 2.0 GPU for Wearables and Internet of Things (IoT) Devices Why use a Graphics Library instead of an Engine? (Ex: OpenGL vs Unity) – … Continue reading OpenGL Roundup, November 4, 2013»

OpenGL Roundup, September 19, 2013

Here’s the beginning of a new series on OpenGL ES 2.0 for iOS, using Apple’s GLKit. GLKit to the max: OpenGL ES 2.0 for iOS – Part 1: GLKit Features OpenGL ES 2: How does it draw? ROBOVM BACKEND IN LIBGDX NIGHTLIES AND FIRST PERFORMANCE FIGURES! – Libgdx is moving to a new backend for iOS … Continue reading OpenGL Roundup, September 19, 2013»

Adding a 3d Perspective and Object Rendering to Our Air Hockey Project in Native C Code

For this post in the air hockey series, we’ll learn how to render our scene from a 3D perspective, as well as how to add a puck and two mallets to the scene. We’ll also see how easy it is to bring these changes to Android, iOS, and emscripten. Prerequisites This lesson continues the air … Continue reading Adding a 3d Perspective and Object Rendering to Our Air Hockey Project in Native C Code»

Loading a PNG into Memory and Displaying It as a Texture with OpenGL ES 2: Adding Support for Emscripten

In the last two posts in this series, we added support for loading a PNG file into OpenGL as a texture, and then we displayed that texture on the screen: Loading a PNG into Memory and Displaying It as a Texture with OpenGL ES 2, Using (Almost) the Same Code on iOS, Android, and Emscripten. … Continue reading Loading a PNG into Memory and Displaying It as a Texture with OpenGL ES 2: Adding Support for Emscripten»

Calling OpenGL from C on the Web by Using Emscripten, Sharing Common Code with Android and iOS

In the last two posts, we started building up a simple system to reuse a common set of C code in Android and iOS: OpenGL from C on Android by using the NDK Calling OpenGL from C on iOS, Sharing Common Code with Android In this post, we’ll also add support for emscripten, an LLVM-to-JavaScript compiler … Continue reading Calling OpenGL from C on the Web by Using Emscripten, Sharing Common Code with Android and iOS»

OpenGL Roundup, June 24, 2013

Here are some interesting links I’ve come across recently: Cross-platform LIBGDX ROBOVM BACKEND Watch how Valve and Nvidia ported Source to Linux (and GL!) Giveaways Free Book! (Programming 3D Applications in HTML5 and WebGL) OpenGL History of the Modern GPU Series How to write portable WebGL OpenGL ES Particle System Tutorial: Part 1/3 NDK Porting … Continue reading OpenGL Roundup, June 24, 2013»

Developing a Simple Game of Air Hockey Using C and OpenGL ES 2 for Android, iOS, and the Web

Some of you have been curious about what the air hockey game from the book would be like if we brought it over to other platforms. I would like to find out, myself. 🙂 In the spirit of my last post about cross-platform development, I want to port the air hockey project over to a … Continue reading Developing a Simple Game of Air Hockey Using C and OpenGL ES 2 for Android, iOS, and the Web»

Site Updates, and Thoughts on Native Development for the Web

I’ve recently been spending time travelling overseas, taking a bit of a break after reaching an important milestone with the book, and also taking a bit of a rest from working for myself! The trip has been good so far, and I’ve even been keeping up to date with items from the RSS feed. Here … Continue reading Site Updates, and Thoughts on Native Development for the Web»

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»