The goal of this tutorial is to get you quickly up-to-speed with the basics of using OpenGL with GLKit, from the ground up, assuming you have no experience whatsoever. Rather than having to write a complicated method dealing with tons of different image formats, loading a texture is now a single method call! This class makes it much easier to load images as textures to be used in OpenGL. Now with GLMath, most of the common math routines are there for you! Prior to iOS 5, pretty much every game needed their own math library with common vector and matrix manipulation routines. They’re also a handy way to get some basic lighting and texturing working. These classes implement common shading behaviors used in OpenGL ES 1.0, to make transitioning to OpenGL ES 2.0 easier. These classes abstract out much of the boilerplate code it used to take to set up a basic OpenGL ES project. The new set of APIs is collectively known as GLKit. ![]() ![]() IOS 5 comes with a new set of APIs that makes developing with OpenGL much easier than it used to be. ![]() Note from Ray: This is the fourth iOS 5 tutorial in the iOS 5 Feast! This tutorial is a free preview chapter from our new book iOS 5 By Tutorials. ![]() Update 10/24/12: If you’d like a new version of this tutorial fully updated for iOS 6 and Xcode 4.5, check out iOS 5 by Tutorials Second Edition!
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |