Jump to content
  • Advertisement
Sign in to follow this  
ShadowDust

screen capture in OpenGL?

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

Advertisement
use an adaptation of lesson 36 to capture a screen to a texture.
But remember that on some hardware you can get some problems with textures not having a size that is not a power of two.

Share this post


Link to post
Share on other sites
Took me about ten minutes to find the acursed thing but there was a thread not so long ago that had some render to texture code in it (I presume this is what you're wanting to do?), clicky.

Share this post


Link to post
Share on other sites
The method you see in lesson #36 is simple but by far the slowest method available as I know. FBOs are not so simple but much faster.

Share this post


Link to post
Share on other sites
the FBO example gives this error:

EXT_framebuffer_object was not found

as for the texture mapping still the same problem, it's all grey...

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!