Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 29
Registered: ‎03-03-2013
My Device: Z10, Q10, Bold 9900, Bold 9700
My Carrier: Rogers

Looking to do some game development in OpenGL ES

I'm looking to do some game development in my spare time for BB10.  I have had game development experience before and have quite a bit of experience in C++, but I have never used OpenGL.  Are there any online resources or tutorials for OpenGL ES that people would recommend? 

Developer
Posts: 36
Registered: ‎01-16-2013
My Device: Z10
My Carrier: Telus

Re: Looking to do some game development in OpenGL ES

[ Edited ]

This is a good book

OpenGL ES 2.0 Programming Guide

http://www.amazon.ca/OpenGL-ES-2-0-Programming-Guide/dp/0321502795/ref=sr_1_1?ie=UTF8&qid=1362339768...

 

For a description of each function and the parameters:

http://www.khronos.org/opengles/sdk/docs/man/

 

Combine them with a simple google search: "opengl es tutorial" to see example code.

 

This is useful for opengl egl initialization:

https://github.com/blackberry/NDK-Samples/blob/master/GoodCitizen/bbutil.c

 

OpenGL ES 1 is easier to understand for a beginner, but Opengl ES 2 is more flexable and faster (programmable shaders).