2017年10月12日 星期四

周承翰_計圖學習筆記_Week05

Week05 投影角度 Viewing 


至小葉老師網站 :http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/

一. 下載三樣東西來完成此次作業 

1. data.zip 
2. win32
3. glut32.dll




二. 執行Transformation

1. 將windows解壓縮

2. 解壓縮 data ,並將資料都丟進windows資料夾

3. 將glut32.dll 丟進windows資料夾

4 . 執行



三 . 執行Projection.exe

1. gluPerspective( fovy(視野) , aspect(y/x比例) , zNear , zFar)

2. glOrtho (左、右、下、上、近、遠)

    glrustum(....)

3. gluLookAt ( eyeX , eyeY , eyeZ , centerX , centerY , centerZ , upX , upY , upZ)



四 . 使用 Glut 偷天換日

1. 打開glut專案檔
2. 至 Moodle 下載並解壓縮小葉老師week05.zip






沒有留言:

張貼留言