PDA

View Full Version : Learning OpenGL ES




henrysoup
Apr 22, 2009, 07:03 PM
Does anyone know of any learning materials for those who want to learn how to use OpenGL ES from scratch?



lazydog
Apr 23, 2009, 03:43 AM
Hi

The red book, in conjunction with the OpenGL ES documentation (http://www.khronos.org/opengles/sdk/1.1/docs/man/) is a good place to start. Note, since you are using ES skip the stuff on immediate mode and read up about vertex arrays etc.

b e n

henrysoup
Apr 23, 2009, 04:23 PM
I have never used OpenGL either. Would it be worth following tutorials on that or is most of it made redundant in ES?

lazydog
Apr 23, 2009, 05:28 PM
Yes, it is definitely worth going over OpenGL tutorials! ES is basically a subset of OpenGL v1.something_or_another. With the exception of a few small differences, you can run the same OpenGL ES code on the Mac as the iPhone. So it might be worth you hunting down some GLUT demos that you can run on the Mac. Even if they use immediate mode rendering, ie code that uses glBegin() ... glEnd(), there will still be a lot of code that is relevant for ES, eg transformations, blend modes, fog, vertex arrays and so on.

b e n

xsmasher
Apr 26, 2009, 08:50 PM
Hi

The red book, in conjunction with the OpenGL ES documentation (http://www.khronos.org/opengles/sdk/1.1/docs/man/) is a good place to start. Note, since you are using ES skip the stuff on immediate mode and read up about vertex arrays etc.

b e n

Agreed- you can get a copy of the red book for under $10, and the first few chapters cover everything you need to know about viewports, transforms, drawing, vertex order, and tons of other stuff you need to know.

http://tinyurl.com/cpwuua

tps.wave
Apr 26, 2009, 11:07 PM
Online red book
http://unreal.srk.fer.hr/theredbook/

Good OpenGL tutorials (game related)
http://nehe.gamedev.net

OpenGL ES tutorials
http://www.zeuscmd.com/tutorials/opengles/index.php