• Advertisement
Sign in to follow this  

Starting with OpenGL ES 2

This topic is 1809 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi smile.png
 
I'm really confused now.
I'm 17 and I want to learn game design for mobile platforms (Android and iOS).
 
I have some game programming experience with XNA and C#, and I have solid knowledge of C/C++.
 
These are issues that are stopping me from learning OGLES : 
 

  • I have no Android or iPhone device, so I'm wondering is there any way to emulate OGLES 2 on desktop (Ubuntu Linux) ?

 

  • What modern books and tutorials on GLSL and shader math can You recommend ?

 

  • Is there even a chance to learn fundamentals of OpenGL ES 2 and Shaders using GLSL in 6 months ?

 

  • Can indie game pay my college ? smile.png

 

Thank You in advance, and I'm sorry if the question is poor or bad, but I don't have anyone to ask these questions and I believe that communty can help me smile.png

Edited by ccodernn

Share this post


Link to post
Share on other sites
Advertisement

Yes, you can do your OpenGL programming on Ubuntu.  OpenGL 2 is effectively a superset of OpenGL ES 2, so if you stay within the confines of the ES features, you'll be fine.  Mesa also supports the ES2 profile, so you could have a look at that.  But if you want to write for mobile devices, having access to one will serve you well.

 

I'm sure other people, and Google, will can link any number of tutorials; I remember this book as being helpful http://www.amazon.co.uk/OpenGL-ES-2-0-Programming-Guide/dp/0321502795

 

Do you mean if there's a chance to learn the fundamentals in 6 months?  Yes, definitely!  Especially since you probably already know a lot of the basic concepts and math from XNA.

 

Making an indie game can pay for college roughly the same way buying a lottery ticket can, unfortunately.  It's possible, but luck plays a huge factor.

Share this post


Link to post
Share on other sites

Since you don't have a mobile device at the moment, I would focus on general OpenGL programming to start and get the basic concepts down, since they will be the same whether you are on PC or a mobile device.  

 

If you go to http://www.reddit.com/r/opengl and look on the right side, there are some really good tutorials that can help you learn modern OpenGL programming.

 

Its definitely possible to learn in 6 months if you are a hard worker and not afraid to ask questions.  :D

Share this post


Link to post
Share on other sites
If you want to target OpenGL ES (i.e so you can ignore any confusing deprecated stuff) I highly recommend emscripten. It is all desktop based which means you dont need to mess around with iPhone / Android related limitations (like certificates or java/objc shim layers).

https://github.com/kripken/emscripten

It basically compiles your C/C++ code to Javascript for a WebBrowser and supports OpenGL ES 2.0 (ultimately WebGL).

You will need to compile or get hold of binaries for...
LLVM
clang
node.js
python

But then emscripten will take any standard OpenGL Core or ES2 project (including GLUT) and cross compiles to a javascript output which is pretty awesome.

One thing that is a pain is the very long compile times when you use C++. (C is fine). So what I recommend is write your code to work on both OpenGL (with a standard compile) and then use emscripten to test it works with OpenGLES.

It provides Glut, libPNG, SDL and loads of other game related libraries by default. Edited by Karsten_

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement