OpenGL 場景生成步驟
1. The Viewing Transformation - 視點變換
2. The Modeling Transformation - 模型變換
3. The Projection Transformation - 投影變換
4. The Viewport Transformation - 視口變換
A. The Viewing Transformation FUNCTION:
gluLookAt();
B. The Modeling Transformation FUNCTION:
glTranslate*();
glRotate*();
glScale*();
C. The Projection Transformation DUNCTION:
glFrustum();
gluPerspective();
glOrtho();
gluOrtho2D();
D. The Viewport Transformation FUNCTION:
glViewport();
glDepthRange();
沒有留言:
張貼留言