Open Source Wrapper Makes It Easier To Work Use OpenGL ES 2.0 In Objective-C

With GLKit Apple made it considerably easier to work with OpenGL ES, and some time ago I mentioned a great app for developing shaders and learning to understand OpenGL ES right on the device.

Today I came across a library that complements GLKit quite well.  The developers have created a wrapper that makes it easy to create OpenGL ES 2.0 objects and encapsultes them into Objective-C objects.

Here is some further info on the project from Raphael Sebbe known as CeedGL taken from the Github repository page:

Modern OpenGL (ES 2.0, Desktop 3.0) defines a number of “objects”, that is, vertex buffers, textures, shaders, programs, framebuffers, etc. that are typically represented by handles (integers).

CeedGL proposes to model all these and their relationships with each other as actual Objective-C objects and associated methods. This in turn makes it easier to store and manipulate GL data in your app structure.

CeedGL also defines the concept of “draw command” which ties together vertex buffers, textures, shaders to provide reusable drawing primitives. It also makes it easier to access uniforms and attributes in shaders.

You can download the library along with an example project on Github here.

via @morbec

Looks like a great project for working with OpenGL ES 2.0 – definitely one to try out if you’re working with OpenGL ES 2.0 on the iOS platform.

 

©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterFacebookLinkedInEmail


Leave a Reply

Your email address will not be published. Required fields are marked *