- Hands-On C++ Game Animation Programming
- Gabor Szauer
- 139字
- 2021-06-30 14:45:58
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.
- Linux C/C++服務(wù)器開發(fā)實(shí)踐
- AngularJS Web Application Development Blueprints
- Reactive Programming with Swift
- Scratch 3游戲與人工智能編程完全自學(xué)教程
- Mastering Julia
- 零基礎(chǔ)學(xué)Python數(shù)據(jù)分析(升級版)
- C語言實(shí)驗(yàn)指導(dǎo)及習(xí)題解析
- Responsive Web Design by Example
- 零基礎(chǔ)入門學(xué)習(xí)Python
- ElasticSearch Cookbook(Second Edition)
- C語言程序設(shè)計簡明教程:Qt實(shí)戰(zhàn)
- Scala編程(第5版)
- 后臺開發(fā):核心技術(shù)與應(yīng)用實(shí)踐
- Learning Bootstrap 4(Second Edition)
- HTML5移動前端開發(fā)基礎(chǔ)與實(shí)戰(zhàn)(微課版)