官术网_书友最值得收藏!

Inverting a matrix

Multiplying a matrix by its inverse will always result in the identity matrix. An inverted matrix has the opposite mapping of the non-inverted matrix. Not all matrices have an inverse. Only matrices with a non-zero determinant can be inverted.

Inverting matrices is an important operation; the view matrix that is used to transform three-dimensional objects to be displayed on-screen is the inverse of the camera's position and rotation. Another place where inverted matrices become important is skinning, which will be covered in Chapter 10, Mesh Skinning.

Finding the inverse of a matrix is rather complicated as it needs other support functions (such as transpose and adjugate). In this section, you will build these support functions first and then build the inverse function after they have all been built. So firstly, we need to transpose the matrix.

主站蜘蛛池模板: 兴海县| 鹿邑县| 保定市| 紫云| 眉山市| 河北省| 噶尔县| 阿勒泰市| 武隆县| 涡阳县| 禄丰县| 肃北| 双城市| 齐河县| 金湖县| 清远市| 河源市| 宣威市| 东辽县| 乌苏市| 怀柔区| 贵德县| 遂昌县| 天峻县| 五家渠市| 开江县| 新野县| 三都| 增城市| 台湾省| 婺源县| 衡阳市| 沙田区| 嘉荫县| 沾化县| 洪江市| 青神县| 甘洛县| 大同县| 合肥市| 江城|