Transformation and glOrtho
assume a program that just displays a cube.
Now, when i convert the code ;
gluPerspective(fov, a_ratio, znear, zfar);
i cant make the cube get smaller as it goes far from me.(z axis)
i mean whatever you make the -3.0 in glTranslatef, the cube stays there!
i would like to ask the reason and how to.
Code is below;
void COpenGLDlg: isplayGL()
Thanks For Your Kind Interests.