Matrix Mathematics
来源:互联网 发布:mysql 1054 编辑:程序博客网 时间:2024/05/22 10:51
搞3D的不了解点Matrix Mathematics实在说不过去。大学里的线性代数都还给老师了真是惭愧啊。作为对OpenGL坐标系的补充,本文讨论下矩阵的相关知识吧。
矩阵乘法:
设A为MxN矩阵,B为NxL矩阵。则A可以左乘B。
矩阵乘法满足:
1.结合律 (AC)C=A(BC)
2.左分配律 A(B+C)=AB+AC
3.右分配律 (A+B)C=AC+BC
4.数与矩阵乘法的结合律 (xA)B=x(AB)=A(xB)
矩阵转置:
矩阵的转置满足以下规律:
(1
(2
(3
(4
矩阵与变换:
平移:
图3 平移矩阵
旋转:
图4 延x轴旋转
图5 延y轴旋转
图6 延z轴旋转
缩放:
图7 缩放矩阵
以上对矩阵的操作都是基于左手坐标系,如果在右手坐标系,矩阵会有所改变。
矩阵级联:
级联的关键在于矩阵起作用的先后顺序,对于空间点而言,先进行的变换要靠近空间点。
0 0
- Matrix Mathematics
- Mathematics
- Mathematics
- Mathematics
- The Mathematics of the 3D Rotation Matrix
- Classifier (mathematics)
- Mathematics Review
- Regularization (mathematics)
- jzoj1747. Mathematics
- Mathematics for Computer Graphics
- Mathematics for Computer Science
- Mathematics English Vocabulary (Cited)
- Topics on Discrete Mathematics
- Mathematics Version 2.12
- Mathematics for Computer Graphics
- Mathematics for Computer Graphics
- Mathematics for Computer Graphics
- LaTeX/Advanced Mathematics
- WPS中如何自动生成文件目录
- 【JS学习笔记】数组
- Notification与应用启动
- Visual Studio 2008 可扩展性开发(三):Add-In运行机制解析(下)
- MIPS GCC 嵌入式汇编
- Matrix Mathematics
- 1025: [SCOI2009]游戏 线性筛素数+DP
- 1046. Shortest Distance (20)
- Shiro简介
- Visual Studio 2008 可扩展性开发(四):添加新的命令
- lighttpd-1.4.39 : fdevents and Event Handler
- LeetCode Valid Sudoku
- oracle数据库学习(二)
- sklearn sparse matrix 的构造方法