Top "Glreadpixels" questions

glReadPixels is an OpenGL API function to read pixels data from source framebuffer to destination memory buffer.

How to take screenshot in OpenGL

How to take a screenshot of an OpenGL window in C++ and save it to file. I found the glReadPixels() …

c++ opengl save screenshot glreadpixels
Reading the pixels values from the Frame Buffer Object (FBO) using Pixel Buffer Object (PBO)

Can I use Pixel Buffer Object (PBO) to directly read the pixels values (i.e. using glReadPixels) from the FBO (…

opengl framebuffer fbo glreadpixels pbo
Converting data from glReadPixels() to OpenCV::Mat

I want to get every OpenGL frame from an animation with glReadPixels() and convert the data to OpenCV::Mat. I …

c++ opengl opencv glreadpixels
Read texture bytes with glReadPixels?

I want to dump raw texture data to disk (to read back later), and I'm not sure about glReadPixel will …

ios opengl-es textures glreadpixels
Android OpenGL ES 2.0 -- glReadPixels() and glTexImage2D() drawing a black texture?

I'm working on some Android code for caching and redrawing a framebuffer object's color buffer between the loss and recreation …

android opengl-es opengl-es-2.0 glreadpixels glteximage2d
OpenGL ES to video in iOS (rendering to a texture with iOS 5 texture cache)

You know the sample code of Apple with the CameraRipple effect? Well I'm trying to record the camera output in …

ios opengl-es-2.0 fbo glreadpixels
how to use glreadpixels with android -- usually get zeros

I'm trying to detect the opengl object under the cursor... I have read it referred to as picking. Here is …

android opengl-es glreadpixels