Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

henrysoup

macrumors newbie
Original poster
Apr 22, 2009
15
7
Does anyone know of any learning materials for those who want to learn how to use OpenGL ES from scratch?
 

henrysoup

macrumors newbie
Original poster
Apr 22, 2009
15
7
I have never used OpenGL either. Would it be worth following tutorials on that or is most of it made redundant in ES?
 

lazydog

macrumors 6502a
Sep 3, 2005
709
6
Cramlington, UK
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

macrumors regular
Jul 18, 2008
140
0
Hi

The red book, in conjunction with the OpenGL ES documentation 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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.