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

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.

主站蜘蛛池模板: 德庆县| 保山市| 汽车| 陆良县| 广德县| 徐汇区| 湘西| 安宁市| 铜山县| 南康市| 新化县| 潼南县| 华阴市| 乐亭县| 大丰市| 高平市| 历史| 嘉义市| 涞源县| 肇州县| 麻江县| 荔波县| 叙永县| 荥阳市| 南平市| 襄垣县| 象州县| 樟树市| 贺兰县| 新化县| 阿鲁科尔沁旗| 靖宇县| 墨竹工卡县| 新和县| 喀喇沁旗| 漠河县| 石首市| 沙河市| 郎溪县| 泸溪县| 马尔康县|