O'Reilly logo

WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL by Rodger Lea, Kouichi Matsuda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. More Transformations and Basic Animation

Chapter 3, “Drawing and Transforming Triangles,” explained how to use the buffer object to draw more complex shapes and how to transform them using simple equations. Because this approach is cumbersome for multiple transformations, you were then introduced to matrices and their use to simplify transformation operations. In this chapter, you explore further transformations and begin to combine transformations into animations. In particular, you will

• Be introduced to a matrix transformation library that hides the mathematical details of matrix operations

• Use the library to quickly and easily combine multiple transformations

• Explore animation and how the library helps you animate simple shapes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required