View matrix - Rappel

Matrice View:
assets/view.svg
Coordonnées de la caméra: \(\mathrm{Cam}\)
\(\mathrm{Cam}=\left(\begin{array}{cccc} | & | & | & | \\ right & up & back & eye \\ | & | & | & | \\ 0 & 0 & 0 & 1\end{array}\right)=\left(\begin{array}{cc} O & eye \\ 0 & 1 \end{array} \right)\)
View matrix: \(\mathrm{View}\)
\(\mathrm{View}=\left(\begin{array}{cccc} ( \cdots & right & \cdots ) & - right \cdot eye \\ ( \dots & up & \cdots ) & - up \cdot eye \\ ( \cdots & -front & \cdots ) & - back \cdot eye \\ 0 & 0 & 0 & 1 \end{array}\right)=\left(\begin{array}{cc} O^T & -O^T\,eye \\ 0 & 1 \end{array} \right)\)
\(\mathrm{View}=\mathrm{Cam}^{-1}\)