2017年10月19日 星期四

羅宣的學習筆記 WEEK5




投影

gluPerspective(fovy[視野],aspect[x.y比例],zNea,zFar)

1. ~jsyeh.org/3dcg10 下載win32, glut32.dll, data
2. 解壓win32到windows,glut32.dll, data 放入windows
3.執行Transformation.exe
4.執行Projection,並按右鍵來切換函數


gluPerspective(fovy[視野],aspect[x.y比例],zNea,zFar)
glOrtho(左、右、上、下、近、遠);
glFrustum(左、右、上、下、近、遠);
gluLookAt(eyeX, eyeY, eyeZ,
                 centerX, centerY, centerZ,
                 upX, upY, upZ);


5. 下載並執行老師的檔案

沒有留言:

張貼留言