2017年10月12日 星期四

世弦 week05

一、 執行範例檔:

1. 下載檔案並解壓縮;


2.準備好檔案:


3.執行transformation.exe:


4.執行看看projection.exe:


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

5. gluOrtho (左, 右, 下, 上, 近, 遠) 
    glFrustum (左, 右, 下, 上, 近, 遠) 
    glutLookAt (eyeX, eyeY, eyeZ,
                         centerX, centerY, centerZ,
                         upX, upY, upZ)



沒有留言:

張貼留言