I am trying some simple OpenGL rendering using OpenTK. When I draw a rectangle:
GL.Begin(BeginMode.Quads); GL.Color3(0.85, 0.85, 0.95); GL.Vertex3(-bgSize, -bgSize, -bgSize); GL.Vertex3(bgSize, -bgSize, -bgSize); GL.Color3(0.1, 0.1, 0.9); GL.Vertex3(bgSize, bgSize, -bgSize); GL.Vertex3(-bgSize, bgSize, -bgSize); GL.End();
It renders with the borders of the two tessellated triangles. That means, it renders the polygon + the tessellated wireframe! This looks like a nice free gift to have, but what I want is just a plan polygon..
Did I miss out something? What are the things I should check?
Thanks in advance.