2017年10月12日 星期四

rayㄉ第五週

1.複習上週主題(旋轉.etc)
2.主題: viewing
3.範例網址 :http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/
4.viewing 相關函式&介紹
5.作業: 利用mouse/keyboard實作

第一堂

a.到http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/ 網頁中下載data , windows , glut32
















b.把三個檔案解壓所放到同一個資料夾,並執行Transformation.exe














就跑出今天第一個執行結果~

















第二堂

a.打開projection.exe




























gluPerspective :透式投影法    fovy :視野    aspect: x,y的比例
















gluOrtho 垂直透視法  (left , right, bottom , top , near , far)


沒有留言:

張貼留言