Functions like glClearColor() and glClear() seem to be working exactly as they should, but the code to render the triangle doesn't. The triangle doesn't render though, I just get a black screen. Here we created the vertices of our triangle in the form of a list and then convert it into a NumPy array.I've written a simple OpenGL 3.3 program which is supposed to render a triangle, based off of this tutorial, except I'm using GLFW to create the window and context, instead of doing it from scratch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |