Closed zengxiuhao closed 6 years ago
I don't know how to resolve it . Can you give me a simple demo that use VAO、Vbo to draw triange in glcontrol.
I don't know how to resolve it . Can you give me a simple demo that use VAO、Vbo to draw triange in glcontrol.
Did you read the HelloTriangle sample source? It does render using VAO. (https://github.com/luca-piccioni/OpenGL.Net/blob/master/Samples/HelloTriangle/SampleForm.cs)
Now,I use This Opengl.Net library to draw Triangle. When I use VAO VBO Object, the triangle don't display in the glcontrol and the window remain the backgroundcolor. the same code can run correctly in opentk. However,When I use fixed pipeline to draw triange,it display correctly.