把data和win32解壓縮後和glut32.dll放在同一個資料夾中
2.執行Transformation.exe
可以用滑鼠調整glTranslatef , glRotatef , glScalef
3.執行Projection.exe
透視投影法
gluPerspective(fovy, aspect, zNeer, zFar)
視野, y/x比例
gluLookAt(eyeX, eyeY, eyeZ,
centerX, centerY, centerZ,
upX, upY, upZ)
*eye:改變視角
center:依中心點改變觀看角度
up:旋轉視角
垂直投影法
glOrtho(left, right, bootom, top, near, far)
透視視野
glFrushum(left, right, bottom, top, near, far)
沒有留言:
張貼留言