1.輸入網址jsyeh.org/3dcg10
2.到老師的網頁
3.下載 data.zip 、windows.zip、glut32.dll
4.講這三個檔案放進一個新資料夾並命名為windows
5.把兩個壓縮檔都解壓縮
6.執行Transformation.exe
7.執行Projection.exe
(1)gluPerspective(fovy , aspect , zNear , zFar)
視野 Y/X比例
(2)glOrtho(左,右,下,上,近,遠)
glFvutum(左,右,下,上,近,遠)
(3)gluLookAt(eyex,eyey,eyez,
centerx,centery,centerz,
upx,upy,upz)







沒有留言:
張貼留言