The picture is what happens when you ask the GPU to draw random memory.
Memory like that at the address of Python's None object and beyond. :-)
On 23/10/2014 3:38 PM, Khalifa Lame wrote:
glReadPixels() returns None. I'm sure it shouldn't be empty, I did
some clearing and drawing beforehand.
I even tried specifying the buffer to draw to using glDrawBuffer() and
glReadBuffer. Tried with GL_BACK and GL_AUX_BUFFERS. Both turn up empty.
Is there something i'm missing?
Another weird thing, the preview window shows some colored dots when
in fact, the data fed to it was the empty result from glReadPixels().
I'm new to openGL programming and even newer to bgl.
--
khalibloo®
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python