
计算机图形学
文章平均质量分 91
高厉害
此人真的真的非常懒,什么都没有写。
展开
-
【现代图形学基础 Games101】3. Viewing Transformation
Viewing Transformation视图变换包含三部分 —— MVP(Model-View-Projection),模型、视图和投影。模型变换就是前两节阐述的直接总用于点集的变换,但如果想看到图像,我们还需要定义一个摄像机,这一部分也包含变换,被称为视图变换,我们下面就来叙述它。View/Camera定义一个摄像机Position e⃗\vec{e}eLook-at/gaze direction g^\hat{g}g^Up direction t^\hat{t}t^前两个参数原创 2021-07-24 21:42:46 · 393 阅读 · 0 评论 -
【现代图形学基础 Games101】2. 3D Transformation
3D Transformation类比 2D 变换:[x′y′z′1]=[abctxdeftyghitz0001][xyz1]\begin{bmatrix}x^{'} \\y^{'} \\z^{'} \\1\end{bmatrix} =\Large{\begin{bmatrix}\textcolor{orange}{a} & \textcolor{orange}{b} & \textcolor{orange}{c} & \textcolor{#0aa}{t_x}原创 2021-07-23 11:43:23 · 193 阅读 · 2 评论 -
【现代图形学基础 Games101】1. 2D Transformation
TransformationCannot read property 'type' of undefined1. Scale将一个平面点集进行平面缩放,记在 x, y 方向缩放倍数为 sx sys_x \ s_ysx sy。Scale Matrix:[x′y′]=[sx00sy][xy]\begin{bmatrix}x^{'} \\y^{'}\end{bmatrix} ={\Large\begin{bmatrix}s_x & 0 \\0 &am原创 2021-07-22 14:27:31 · 288 阅读 · 2 评论