The Mysterious Fourth Row

The fourth row does not have any special meaning.

  • The m4, m8, and m12 elements are always 0.
  • The m16 element (the Homogeneous coordinate) will always be 1.

As we described at the beginning of this chapter, there are no cameras in WebGL. However, all the information that we need to operate a camera (mainly rotations and translations) can be extracted from the Model-View matrix itself.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.40.177