Re: [PyOpenGL-Users] [SOLVED] glDrawArrays and PyOpenGL 3.0.0a6 anything changed?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2007-10-09 12:44:26
|
V. Armando Sole wrote: ... > Just adding the code below to the previously submitted file > illustrates the problem. I send the file as attachment but it is just > to avoid problems because it is the same file as before. (Just click > on the displayed widget) With the latest CVS version, on clicking I get: mcfletch@raistlin:~/OpenGL-dev/OpenGL-ctypes/OpenGL/tests$ python glreadpixelsubformat.py 1 received uint8 Color = [[[128 128 128 255]]] ... > if color.dtype == 'int8': > print "WARNING: int8 received" > color = color.astype(numpy.uint8) > else: > print "received %s" % color.dtype > print "Color = ", color which suggests that the problem has been fixed between the last release and now. I'm planning to do a beta-1 release this week, incidentally. Good luck, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |