Jump to content

View more

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Starting with OpenGL ES 2

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 ccodernn   Members   


Posted 07 February 2013 - 03:17 PM

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, 08 February 2013 - 06:01 PM.

#2 Brian Sandberg   Members   


Posted 08 February 2013 - 01:13 PM

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.

#3 scottrick49   Members   


Posted 08 February 2013 - 02:03 PM

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


#4 ccodernn   Members   


Posted 08 February 2013 - 06:05 PM

Thank you guys so much, I will start with OpenGL on desktop.I found this tutorial : http://ogldev.atspace.co.uk/.It looks good.

Also, I'll find the book that Brian recommend when I get real mobile device.


Thanks :)

#5 Karsten_   Members   


Posted 09 February 2013 - 12:27 PM

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).


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...

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_, 09 February 2013 - 12:29 PM.

http://tinyurl.com/shewonyay - Thanks so much for those who voted on my GF's Competition Cosplay Entry for Cosplayzine. She won! I owe you all beers :)

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.