Orthographic projection with origin at screen bottom left

前端 未结 3 1209
攒了一身酷
攒了一身酷 2021-01-17 02:56

I\'m using the python OpenGL bindings, and trying to only use modern opengl calls. I have a VBO with verticies, and I am trying to render with an orthographic projection mat

3条回答
  •  醉梦人生
    2021-01-17 03:21

    You can use a more general projection matrix which additionally uses left,right positions.

    See Wikipedia for the definition.

提交回复
热议问题