Login  Register

Re: glReadBuffer() behavior on MAC

Posted by stepasite on Jan 29, 2013; 8:38pm
URL: https://forum.jogamp.org/glReadBuffer-behavior-on-MAC-tp4028039p4028054.html

Sven,

thanks for a thorough description of the problem.

Given your reply I understand that when reading a buffer (when FBO rendering enabled) I always get front buffer data. Reading back buffer would be difficult (maybe impossible) as I don't have access to your FBO objects so I cannot bind the right one. Am I right?

But I think reading pixels just from front buffer is Okay for me as I need to get pixel data once the scene is rendered (and glSwapBuffers() called).

Thanks for your help and clarification!
Pavel