[PyOpenGL-Users] VBO - vertex and element arrays
Brought to you by:
mcfletch
From: Krystian S. <sam...@gm...> - 2007-04-11 13:48:38
|
Hi, Has anyone managed to use VBO vertex and element arrays together? I think I'm doing something wrong maybe with defining python arrays of vertices and indices. Moreover, Some functions require a parameter defining what is the size of the unit of data, e.g. GL_UNSIGNED_INT, GL_INT, GL_UNSIGNED_SHORT etc. - this is also a possible place of error. I know about lesson45.py but it's using only vertex array. Does anyone have examples, advices, comments? Best Regards, Krystian |