阅读背景:

《基于MFC的OpenGL编程》Part 3 Drawing Simple 2D Shapes

来源:互联网 

剪裁区域

     In OpenGL when you create a window to draw in we must specify the coordinate system we want to use and how to map the specified coordinates into physical screen coordinates. We would be using the 2D Cartesian coordinate system with the origin 0,0 at the centre of the screen. Before we can start plotting points, lines and shapes in a window we must also specify how to translate coordinate pairs into screen coordinates, by specifying the clipping area i.e the region of Cartesian space that occupies the window. In OpenGL when you create a window




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: