How to use GL.Ortho in OpenTK correctly?
问题 I paint some figures using GLControl (OpenTK) in Windows forms. However, the problem is that I cannot figure out, how to use GL.Ortho() method. Here is the code I have written: public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void GlControlPaint(object sender, PaintEventArgs e) { GlControl.MakeCurrent(); GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); GL.Viewport(150, 150, 300, 300); //GL.Ortho(0, 1, 0, 1, -1, 1); GL.ClearColor