glDrawArrays vs glDrawElements

后端 未结 3 833
野趣味
野趣味 2021-01-12 05:57

Ok so I\'m still struggling to get this to work. The important parts of my code are:

def __init__(self, vertices, normals, triangles):
    self.bufferVertice         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-12 06:40

    In my experience, the Python OpenGL wrapper is very buggy once you start using some of the more advanced OpenGL calls. Many calls seem to cause a crash for no reason and sometimes work if you replace them with an equivalent sequence of different calls...I switched programming languages for OpenGL instead of having to deal with these issues.

提交回复
热议问题