I have two years of experience on iPhone 开发者_JS百科programming but totally new to OpenGL. What should I pick up in order to build a rotating globe on iPhone? What I want to archive:
- a 3G globe shown on an iPhone
- basically a 3D ball with a texture map on it
- when a user drag on the screen, the globe rotates
Thanks
Well if you are completely new to OpenGl like me than I would suggest you to follow this link to get you started
http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html
enjoy
Edit:
Try this too
how to replace images in puzzle game
I would recommend Brad Larson's Course on OpenGL (ES). It's available on iTunes (for free):
The videos of the Advanced iPhone Development class I taught this past semester at the Madison Area Technical College are now available for free on iTunes U. These videos amount to over 35 hours of HD content, covering more advanced iPhone development topics such as Core Animation, multithreading, Quartz 2-D drawing, and OpenGL ES. The course notes that accompany the class are available for download here in VoodooPad format, or for viewing here in HTML. Links to all sample applications used for the class are present in the notes.
Source
Many people would suggest that you try the NeHe Tutorials for OpenGL, and while I do think that they cover a few features of the OpenGL API, I would instead recommend buying a book on OpenGL if you are serious about learning it. Of course, learning how to write programs using OpenGL comes with practice, but reading the books helps you understand how and why the API is designed how it is, and also introduces you to the graphics pipeline, which is crucial in understanding how your function calls are really processed. I would personally recommend the OpenGL Superbible, but I have heard the the Red Book is good as well. Here's a link to a free HTML file containing an older version of the Red Book.
精彩评论