Chapter 6. OpenGL Basics: Wrapping Your Head Around the OpenGL API

If you have played any 3D games or worked on any programs that involve graphics, you may have heard of OpenGL. You may have read the term on a game box or on a web site, or had some other programmer suggest to you that you might want to check out OpenGL. What is this OpenGL thing and how do you use it for your own purposes?

Whether you are totally new to OpenGL programming or you already know a bit about it, this and the next two chapters will bring you up to speed with developing in OpenGL ES for the iPhone.

What Is OpenGL ES and Why Do I Care?

There are a few main ways that you can draw graphics onto the iPhone screen:

  • You can make a custom UI view and put some Quartz 2D drawing ...

Get Beginning iPhone Games Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.