Lecture 04 Transformation Cont.
3D Transformations(三维变换)
Scale ( 缩放 ) :
如果是绕轴旋转:
绕三个轴的旋转:
对于绕任意轴 n(默认过圆心) 旋转 α 角度的旋转(罗德里格斯旋转):
MVP变换(mode-view-projection transformation): 模型-视图-投影变换
1. View Transformation(视图变换) / Camera Transformation
相机放在(0, 0, 0) 标准位置,往 -z 方向看,向上是 y。
变换矩阵:
Projection Transformation(投影变换)
Orthographic Projection(正交投影)
平移+缩放
- Perspective Projection(透视投影)
Any point on the near plane will not change.
Any point's z on the far plane will not change.