1.前往 jsyeh.org/3dcg10 下載win32, glut32.dll, data
2.解壓到同個地方,並把後兩個檔案放入windows3.執行Transformation
4.執行Projection,並按右鍵來切換函數
gluPerspective(fovy[field of view y視野], aspect y/x[y/x 比例], zNear, zFar);
glOrtho(左、右、上、下、近、遠);
glFrustum(左、右、上、下、近、遠);
gluLookAt(eyeX, eyeY, eyeZ,
centerX, centerY, centerZ,
upX, upY, upZ);
5. 下載並執行老師的檔案




沒有留言:
張貼留言