Real-Time Rendering 4th Edition 读书笔记(三) Transform

4.Transform

这一章节主要讲的是变换相关的数学知识,重温一下,记录一些关键点,(Quaternions 四元数,非常强大,还需要在花时间好好梳理梳理,这一篇里面就暂时不记录四元数相关的了).

仿射变换 affine transform

All translation, rotation, scaling, reflection, and shearing matrices are affine.

方向向量(w分量为0)

点的w分量为0 

Translation

Rotation

简单复合变换

Scaling

if the element at the lower right (position (3, 3)) is 1, no divides are necessary.

Vertex Blending

 

Morphing

Projections

Orthographic Projection

 

 

Prespective Projection

 

 

 

发布了23 篇原创文章 · 获赞 6 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/Vitens/article/details/82287272