1. 下載 data, win32, glut32.dll
( http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/ )
2. 新增一資料夾week5,將win32, glut32 放入並解壓縮
3. 將data資料夾放入week5
4. 開啟Transformation.exe

cop : center of projection 投影中心
orthographic projection : 垂直投影
perspective : 透視投影
Projection.exe 函式介紹
gluPerspective( )
![]() |
| aspect是 y/x 的比例 |
gluLookAt( )

gluOrtho( )

實際操作
1. 開老師week05程式
2. 待續
swap glTranslate 和 glRotate
秘訣 : 讀程式碼從下面慢慢結合來看

沒有留言:
張貼留言