Jump to content
  • Advertisement
Sign in to follow this  
flamurai

Hardware acceleration & offscreen images

This topic is 4815 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

With older graphics cards, you had to render to the screen for GL to use the graphics hardware when rendering. Is that still the case with most chips?

Share this post


Link to post
Share on other sites
Advertisement
No, I want to render images that will just be used for internal calculations... never to be displayed on the screen, even as textures. I know in the past, if you did this, the rendering was done in software, which is not an option here.

Share this post


Link to post
Share on other sites
If you render your stuff to the framebuffer, you must clear it right after to prevent unwanted things from showing up when swapping and the back and front buffers.
You can use pixel buffer to render directly into into a surface that will never get displayed in your framebuffer unless you bind it to a texture.
Another solution would be to use the recent FBO extension; you attach your texture to it, bind it, do some rendering, turn it off and voila; your result is now stored into your texture target.
PS: All hardware accelerated of course :)

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!