Files
obsidian-notes/3Resources/游戏开发/渲染管线/MVP矩阵.md
zzzisfunnyboy af39e07698 6.27
2025-06-27 00:36:51 +08:00

11 lines
575 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# M - Model矩阵
- 将物体从模型坐标转换到世界坐标
# V - View矩阵
- View矩阵是将模型从Model Space转换到View Space的矩阵
- 以相机坐标系为准将Model矩阵转换到相机坐标系下
- View Space是以相机为原点的右手坐标系的空间
- 其主要包括将相机移动到原点、将顶点坐标从世界空间变换到视角空间这两个过程。
# P - Projection矩阵 投影矩阵
- 投影矩阵是为了把顶点的 x,y,z 坐标都变换到 [1,1] 之间Normalized Device Coordinate, NDC坐标系
-