Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

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»

Calling OpenGL from C on iOS, Sharing Common Code with Android

In the last post, we covered how to call OpenGL from C on Android by using the NDK; in this post, we’ll call into the same common code from an Objective-C codebase which will run on an iOS device. Prerequisites A Mac with a suitable IDE installed. An iOS emulator, or a provisioned iPhone or … Continue reading Calling OpenGL from C on iOS, Sharing Common Code with Android»

Calling OpenGL from C on Android, Using the NDK

For this first post in the Developing a Simple Game of Air Hockey Using C++ and OpenGL ES 2 for Android, iOS, and the Web series, we’ll create a simple Android program that initializes OpenGL, then renders simple frames from native code. Prerequisites The Android SDK & NDK installed, along with a suitable IDE. An … Continue reading Calling OpenGL from C on Android, Using the NDK»

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»

OpenGL ES 2 for Android, Printed in Full Color

OpenGL ES 2 for Android is now in full color print! Have you ever wanted to learn more about OpenGL and graphics programming? With OpenGL ES 2 for Android: A Quick-Start Guide, you’ll learn about modern OpenGL graphics programming from the ground up. You’ll find out all about shaders and the OpenGL pipeline, and discover the power … Continue reading OpenGL ES 2 for Android, Printed in Full Color»

Important News for RSS Readers: Your Subscription May End!

Google Reader is shutting down on July 1st. If you use Google Reader and have not yet migrated to another provider, then you will no longer be subscribed to this site and will no longer receive updates. To stay subscribed, you can head over to this page: http://feeds.feedburner.com/LearnOpenglEs. From there, you have a couple of … Continue reading Important News for RSS Readers: Your Subscription May End!»

OpenGL ES Resources and Best Practices

The first place to start for OpenGL documentation on the various mobile platforms is straight at the source: Google’s Android documentation has a small amount of info about OpenGL, though not too much. You’ll get an overview of the APIs and learn how to exclude your application from unsupported devices. According to the OpenGL Dashboard, … Continue reading OpenGL ES Resources and Best Practices»

Beginning Android Games, to Learn More About Game Development for Android

I’m happy to announce that my book, OpenGL ES 2 for Android: A Quick-Start Guide, is now being readied to be sent off to the printers! I owe a special thanks to the publishers, to you guys, my readers and reviewers, and I also owe a special thanks to Mario Zechner, the creator of libgdx, … Continue reading Beginning Android Games, to Learn More About Game Development for Android»

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»