2017年10月18日 星期三

KAI的Week05筆記

1.至jsyeh.org/3dcg10/下載win32.data.glut32.dll檔案
2.解壓縮檔案並注意是否在同個目錄(data資料夾需放入windows資料夾)
3.執行Transformation.exe
4.執行Projection.exe
gluPerspective(fovy,  aspect,  zNear,  zFar)
*fovy:視野大小
*aspect:x,y之比例
*zNear:切面(Light)
*zfar:fu:切面(Shadow)
glLookAt:(0.00,0.00,2.00)->eye眼睛所看過去的方向
               (0.00,0.00,0.00)->center物體中心
               (0.00,0.00,0.00)->物體向上之角度
5.開老師的week05懶人包
*注意:須將data資料放入freeglut/bin中

沒有留言:

張貼留言