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

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.

主站蜘蛛池模板: 香格里拉县| 西乌珠穆沁旗| 荆门市| 宁安市| 达州市| 四子王旗| 四会市| 板桥市| 玉门市| 旺苍县| 高要市| 邢台县| 两当县| 南漳县| 高邮市| 尚义县| 高雄县| 成都市| 西乌珠穆沁旗| 玛纳斯县| 阆中市| 泰和县| 定州市| 志丹县| 舒兰市| 万州区| 综艺| 图们市| 布尔津县| 蒙阴县| 阿图什市| 辽源市| 如皋市| 滕州市| 夹江县| 思茅市| 贺兰县| 滁州市| 商水县| 江门市| 洛宁县|