Hi Could someone please give me a small code sample of how to use glDrawPixels in python.
I have so far: import numarray from OpenGL.GL import * from OpenGL.GLU import * arr = arange(1024*768) glDrawPixels( 1024 , 768, GL_RGB, GL_FLOAT, arr ) setup code and stuff is irrelevant. I just wanna know why this won't work after I have put colour values in it. Also ignore the fact that I didn't enter values for the array
