在OpenGL中实现3D效果,采用的窗口是MFC,实现的时候发现坐标系和采用GLFW时的坐标系不同(也就是和OpenGL的默认坐标系不同),屏幕上下为Z轴,里外为Y轴而不是OpenGL中默认的上下Y轴,里外Z轴。(OpenGL版本为3.3,没有采用到GLUT)
业精于勤,荒于嬉;行成于思,毁于随。
The coordinate axes can be changed, just use gluLookAt. If you don't want to use a similar function, you can calculate the world matrix yourself.
The coordinate axes can be changed, just use gluLookAt. If you don't want to use a similar function, you can calculate the world matrix yourself.