Development
- OpenGL Extensions
- FrameBuffer Object
- Pixel Buffer Object in OpenGL
- GeForce 6-series card and higher
- Correct Image Format
- Pixel size : 32 bit (to avoid data padding)
- Pixel format : BGRA (not to swizzle the incoming pixel)
- Use the PBO extension
- For a fast readback
- bind the bo to GL_PIXEL_PACK_BUFFER using glBindBufferARB()
- pack data into PBO using glReadPixels()
- To download
- bind the buffer to the GL_PIXLE_UNPACK_BUFFER using glBindBufferARB()
- unpack the data from the buffer object by using glTexImage2D
- To modify PBO
- glMapBuffer, glUnmapBuffer
- Implement an Asynchronous Readback
- Split the frame buffer into multiple portions
- Map different frames to different PBOs
- The OpenGL Framebuffer Object Extension
- Volume Rendering
Download in other formats: