全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Model transform, view transform, projection matrix?

又称: model transform · view transform · projection matrix

Definition 31.2 University Computer Science — Year 3 · 第 31 章 — Computer Graphics: From Triangles to Pixels

The model transform of an object is the matrix that takes the coordinates in which the object was modelled to the coordinates of the scene. The view transform takes scene coordinates to camera coordinates, in which the camera sits at the origin and looks down the negative zz axis, with yy up. The projection matrix takes camera coordinates to clip coordinates, a 4-vector whose division by its last coordinate gives the position on the screen and a depth.

The chain that takes a corner of the cube to a pixel. The three matrices multiply into one, PVM; the division by w and the viewport are applied to each point after it.
The chain that takes a corner of the cube to a pixel. The three matrices multiply into one, PVMPVM; the division by ww and the viewport are applied to each point after it.
在原文中阅读 →