1.jsyeh.org/3dcg10下載
windows.zip-->下載\windows\Projection.exe
data.zip-->下載\windows\data\一堆模型
glut32.dll-->下載\windows\glut32.dll
程式碼
gluLookAt(eyeX,eyeY,eyeZ,centerX,centerY,centerZ,upX,upY,upZ);
2.
glOrhto(
gluPerspective(foxy,aspect,zNear,Zfar);
///foxy:張開角度 aspect:長寬比例 zNear:近的裁一刀 zFar:遠的裁一刀
glutReshapeFunc(resize);///resize函式:等比例縮放
沒有留言:
張貼留言