black on block area of window using glReadPixels |
Author :
jmanuel1346
Post Date :
2009-08-07 15:47
Posts :
2
|
Hi there,
I wonder if anyone can help me with this, I trying to save a avi of my render and found that when the opengl window is oclude with another windows on top of it glReadPixels only return black pixel on that oclude area the rest is fine, I tried using fbo to solve this problem but my card don't support it, any subjestion.
thank u |
Author :
jmanuel1346
Post Date :
2009-08-31 17:46
Posts :
2
|
I want to share that solve this problem by reading from the back buffer (glReadBuffer(GL_BACK)) instead of the front when using glReadPixels because windows discard the are been occlude. |
All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005