二维坐标系 1.1 二维坐标系函数 gluOrtho2D(GLdouble left, GLdouble right , GLdouble bottom , GLdouble top); //参数:left, right 剪接面左右纵面坐标。bottom, top 剪接面上下水平面坐标 三维坐标系 2.1 三维坐标系函数 //设置正投影坐标系 void glOrtho(GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdoublez Near , GLdouble zFar); //参数 left, right 剪接面左右纵面坐标。 // bottom, top 剪接面上下水平面坐标 // zNear, zFar 剪接面近处和远处深度距离。他们的距离为负数,平面将落于视图的后面 //设置透视投影坐标系 glFrustum(GLdouble left,GLdouble Right,GLdouble bottom,GLdouble top,GLdouble zNear,GLdouble zFar); // left,right 表示近平面左右两边相对于垂直平面的位置 // bottom,top 表示近平面顶和底相对于水平面的位置 // zNear和zFar 表示视点到远近投影平面的距离