6. Animation
Changing visible aspects of a rendered scene over time produces graphical animation. Modifications to the coordinate system create the illusion of motion within a scene. Changes to vertex data generate effects such as rippling water and waving flags. Variation of colors and lighting provide cinematic atmosphere in many simulations. Changing the texture coordinate system animates texture mapping over geometry, and changing texture data produces effects that look like movies.
The keys to animation are managing time and performing application logic in response to the passage of time. GLKit’s GLKViewController
class includes flexible timing support. The controller’s –update
method is called automatically at configurable periodic rates. ...
Get Learning OpenGL ES for iOS: A Hands-On Guide to Modern 3D Graphics Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.