Jump to content
  • Advertisement
Sign in to follow this  
meestrey

Read data from FBO

This topic is 4700 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm rendering to a (floating point) framebuffer object and I would like to read back the pixel data to the CPU. I'm currently using glreadpixels but it's taking about 1 second for a 512X512 image! This can't be right.

Share this post


Link to post
Share on other sites
Advertisement
glReadPixels is slow, but should not be that slow. Make sure you are using a good color format BGRAF or something similar as those can be faster (test with some different formats and see if it improves performance). On NVidia hardware you can also look at the PBO extension for asynchroneous readbacks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!