2017年10月12日 星期四

黃筱婷計圖筆記week05

1.到jsyeh/3dcg10下載data和win32和glut32.dll放到week05資料夾,
    解壓縮後將glut32,dll和data複 製windows的資料夾
    
2.執行Transformation.exe
    (用滑鼠移動,r = reset)
    
3.執行Projection.exe(投影)
  (1) gluPerspective(fovy,aspect,zNear,zFar)
                            視野   y/x比例
   
 (2)glOrtho(左、右、下、上、近、遠)
      glFrustum(                                        )
 (3)gluLookAt(eyeX,eyeY,eyeZ
                         centerX,centerY,centerZ
                         upX,upY,upZ)
4.
  
     

沒有留言:

張貼留言