# Projection types,View volumes,Viewing projection ###### tags: `course` `computer graphic` ## Projection types * Parallel projection ![](https://i.imgur.com/eKSYGaL.png) > 好算 * Perspective projection ![](https://i.imgur.com/2x9liD8.png) > 常用 ## View volumes - A camera position C and a viewing direction vector N (= view plane normal ), and an upvector V - A view plane distance d - A near clipping plane distance n, and a far clipping plane distance f. ![](https://i.imgur.com/xKLlwGn.png) * Parallel projection ![](https://i.imgur.com/AtDJObt.png) > 好算 * Perspective projection ![](https://i.imgur.com/NnM9BBq.png) * View coordinate system (u, v, n) > v=V, n=-N, u=v x n, where V is perpendicular to n > v = up vector > n = view direction   ![](https://i.imgur.com/7WC9nEv.png) ## Viewing projection * View transformation: Tview > World coordinate to view (eye) coordinate,方便clippng和projection > Tview = B T > B =>rotate to map (u,v,n) to (e1,e2,e3) > T translate world origin coordinate to camera position C * View projection: Tp > view coord. to normalized device coord. sys > view volume -> normalized view volume do orthogonal projection > Tp = Tpers1 Tpers2 > Easy view-volume clipping, back-face culling, and projection * clipping and normalized coordinate ![](https://i.imgur.com/z06jBIo.png) ![](https://i.imgur.com/D2D96sB.png)