views:

6843

answers:

5

What tutorials and libraries are available which can help beginners to develop 2D and 3D games on Android using OpenGL-ES? I'm looking for tutorials which can help me learn OpenGL-ES, and I'm looking for OpenGL-ES libraries which can make life easier for beginners in OpenGL-ES.

Since Android is still small, I guess it may be help-full to read iPhone OpenGL-ES tutorials as well, as I suppose the OpenGL-ES functionality is much the same.

I have found the following useful information which I would have liked to share:

Android tutorials:

Other Android OpenGL-ES information:

iPhone OpenGL-ES tutorials (where the OpenGl-ES information is probably useful):

As for libraries which a beginner might use to get a simpler hands-on experience with OpenGL-ES, I have only found Rokon, which is recently started, thus has many holes and bugs. And it's gnuGPL licensed (at the moment) which means it cannot be used, if we wish to sell our games.

What else is out there?

+3  A: 

You definitely can sell your games based on GPL software, read more here: http://www.gnu.org/philosophy/selling.html

skrat
This is a bit off-topic but then I invited it I guess :) Yes I can sell it. But the point is, I also have to distribute the source code. Anybody can then just take my source-code, and create a free version of the game on the market - after which I cannot really sell my app, I can only give people an opportunity to support it. This is possible on Android because Google has virtually no restrictions on the market (which is good). On the iPhone market it might be different, because Apple might (or might not) prevent it new versions of the game.
arberg
@user197141 - off Topic, but you can make the source open, but keep the graphics/ level data propriety.
Elazar Leibovich
+3  A: 

The site you mentioned is very good, but I think the best one I have found is by INsanityDesign. It is a portof the great opengl nehe tutorials. This is a great place to start, it gives you source at different levels that you can play with and change to see what different parts do. Other than that reading opengl documentation, will help as well. I am not great at the opengl stuff, but have been able to figure things out using the resources I mentioned.

broschb
+1  A: 

If you want to get started from a really basic OpenGL ES project on Android (one that's actually been compiled and works) you can have a look here: http://www.ruibm.com/?p=263

ruibm
+1  A: 

I gave up on anddev tutorials a long time ago. Every such tutorial I tried would not even build correctly, they were way out of date, and the guy who does them never seems to finish anything.

Much more useful are the tutorials at http://www.droidnova.com/android-3d-game-tutorial-part-i,312.html, but even these won't help you if you must insist on a single URL. BTW: I cannot imagine a useful purpose for this restriction. Unfortunately, the information you really want really is that scattered: you will not find it all at one URL unless you are willing to read the entire Red Book; but that is certainly no tutorial, it is a much more exhaustive reference.

Yet it seems that only such an exhaustive reference will give the information you need in a complete enough and precise enough form to understand such useful and basic issues as the distinction between viewing transformation, viewport transformation, model transformation and viewing transformation, and why OpenGL insists on combining the latter two.

Matt J.
The 'one url' comment I had only meant that I could not yet post urls on stackoverflow.com. Now that is no longer a problem I have removed the confusing comment, from my post.Thx for the feedback. Droidnova and the red book are problably the two main sites at which I should do my reading.
arberg