# gluLookAt矩阵推导

(s, t)^T = s * (1, 0)^T + t * (0, 1)^T

(1, 0)^T = a * u + b * v

(0, 1)^T = c * u + d * v

(s, t)^T = s * (au + bv) + t * (cu + dv) = (as + ct) * u + (bs + dt) * v

(a c  * (s

b d)     t)

(1 0  = (u v) (a c

0 1)             b d)

(a c  = (u v)^-1

b d)

M = (u v 0

0 0 1)^-1

M_view = M * translationMatrix(-p)

M_view =  (u v p

0 0 1)^-1

(u v 0        = (u v 0

0 0 1)^-1      0 0 1)^T

M_view = (u v 0      * (I -p

0 0 1)^T     0 1)

M_view = (u v w 0      * (I -p

0 0 0 1)^T     0 1)

#### 右手坐标系下LookAt视图矩阵的推导

2017-06-30 09:49:48

#### OpenGL 矩阵变换（讲的太好了~！）

2013-04-12 15:39:59

#### 视图模型转换矩阵的推导也是关于gluLookAt函数即视图转换矩阵的推导及代码实现

2015-11-06 23:45:43

#### Opengl---gluLookAt函数详解

2013-04-06 19:03:38

#### gluLookAt 函数详解

2013-11-01 15:41:58

#### gluLookAt矩阵、矩阵的转置与求逆矩阵方法

2012-12-04 15:36:07

#### OpenGL（六） gluLookAt和gluPerspective函数解析

2016-11-09 23:38:39

#### gluLookAt 的参数

2012-03-27 10:18:52

#### 【读书笔记】gluLookAt和glOrtho，gluPerspective

2013-03-05 20:08:55

#### opengl gluLookAt函数实现

2018-04-17 09:31:37