2017年10月12日 星期四

筆記 Week05

(1) 複習上週主題(旋轉 etc.)
(2) 主題: Viewing
(3) 範例: jsyeh.org/3dcg10
(4) Viewing 相關函式&介紹
(5) 作業:利用 mouse/keyboard 實作

1. Transformation.exe  移動 旋轉 縮放



data.zip --->桌面\windows\data\
windows.zip --->桌面\windows\
glut32.dll --->桌面\windows\glut32.dll

2. Projection.exe 投影

-gluPerspective (fovy, aspect, zNear, zFar);

-glOrtho (左, 右, 上, 下, 近, 遠);
 glFrustum ( ... );

-gluLookAt (eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);

沒有留言:

張貼留言