There are numerous books, websites and tutorials dedicated to OpenGL and OpenGL ES. What I would like to do here is to skip much of the introductory material and focus on implementing OpenGL into an iPhone app. When I began working with OpenGL I felt overwhelmed trying to get what I was learning in my research to work on my iPhone in Objective-C. Much of my distress came from blind trial and error experimentation or naively programming myself into a corner. I found the math to be difficult, debugging a pain, and honestly, my mind a little too concrete to picture what I was trying to accomplish in 3D.
Here are some resources that helped me out tremendously:
Jeff Lamarche (Basic 3D Math, OpenGL intro, tutorials)
Math for Game Programmers
Object/Object Intersection (not OpenGL but great for collision detection)
If your OpenGL is rusty or you’ve never played with it before, please explore the links above and make sure you have a general idea of what OpenGL is, how to do matrix multiplication to accomplish transformations and you may want to brush up on your geometry/linear algebra. My plan is to generate tutorials that will walk you through setting up a first person shooter OpenGL ES app in Xcode for your iPhone. When we come across topics like Vertex Buffer Objects or ray tracing I’ll supplement information you need by either explaining it or referring you to a resource that already teaches it well (I’ll try not to re-invent the wheel).
Tutorial I – Creating and setting up a new OpenGL ES app in Xcode