banner
NEWS LETTER

GAMES101-04-Transformation-Cont.

Scroll down

Lecture 04 Transformation Cont.

3D Transformations(三维变换)

Scale ( 缩放 ) : Translation ( 平移 ) : Rotation ( 旋转 ) :

​ 如果是绕轴旋转:

绕三个轴的旋转: ​ So-called Euler angles.

对于绕任意轴 n(默认过圆心) 旋转 α 角度的旋转(罗德里格斯旋转): Viewing Transformation(观测变换)

MVP变换(mode-view-projection transformation): 模型-视图-投影变换

​ 1. View Transformation(视图变换) / Camera Transformation

image-20240709160754672

​ 相机放在(0, 0, 0) 标准位置,往 -z 方向看,向上是 y。

image-20240709161403823

变换矩阵: 平移矩阵: 旋转矩阵:先求标准轴旋转到目标轴的旋转矩阵,再求逆变换,也就是

  1. Projection Transformation(投影变换)

    image-20240709163151051

    image-20240710113016960

  • Orthographic Projection(正交投影)

    平移+缩放

    image-20240710113401198

  • Perspective Projection(透视投影)
  • image-20240710142522668

​ Any point on the near plane will not change.

​ Any point's z on the far plane will not change. 对于空间中任意一点进行透视变换可以通过如下公式解出:

其他文章
cover
GAMES101-05&06-Rasterization
  • 24/10/25
  • 15:52
  • GAMES101课程笔记
cover
GAMES101-03-Transformation
  • 24/10/25
  • 10:45
  • GAMES101课程笔记
目录导航 置顶
  1. 1. Lecture 04 Transformation Cont.