O'Reilly logo

WebGL Beginner's Guide by Brandon Jones, Diego Cantor

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

The Model-View matrix

This matrix allows us to perform affine transformations in our scene. Affine is a mathematical name to describe transformations that do not change the structure of the object that undergoes such transformations. In our 3D world scene, such transformations are rotation, scaling, reflection shearing, and translation. Luckily for us, we do not need to understand how to represent such transformations with matrices. We just have to use one of the many JavaScript matrix libraries that are available online (such as glMatrix).

Note

You can find more information on how transformation matrices work in any linear algebra book. Look for affine transforms in computer graphics.

Understanding the structure of the Model-View matrix is of no ...

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