<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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. :-)<br>
<br>
<div class="moz-cite-prefix">On 23/10/2014 3:38 PM, Khalifa Lame
wrote:<br>
</div>
<blockquote
cite="mid:CAKQbnQ39mBXi8k5EWzjTAwuLZTmGt4z0B+Ug-=cxCB0+WDyR3g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>glReadPixels() returns None. I'm sure it shouldn't be
empty, I did some clearing and drawing beforehand.</div>
<div>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.</div>
<div><br>
</div>
<div>Is there something i'm missing?</div>
<div>Another weird thing, the preview window shows some colored
dots when in fact, the data fed to it was the empty result
from glReadPixels().</div>
<div><br>
</div>
I'm new to openGL programming and even newer to bgl.
<div>
<div>
<div><br>
</div>
-- <br>
khaliblooŽ<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Bf-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a>
</pre>
</blockquote>
<br>
</body>
</html>