How do I setup openTK so I get a orthographic projection where:
(如何设置openTK,以便得到正交投影,其中:)
I currenly have this:
(我目前有这个:)
_projectionMatrix = Matrix4.CreateOrthographicOffCenter(
ClientRectangle.X, ClientRectangle.Width,
ClientRectangle.Y, ClientRectangle.Height, -1.0f, 1.0f);
I'm not fully able to understand what's happening but is seems the origin is now in the bottom left, also I don't know if the coordinates match with the pixels on screen.
(我无法完全理解正在发生的事情,但似乎原点现在位于左下角,而且我也不知道坐标是否与屏幕上的像素匹配。)
ask by lsie translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…