screen capture in OpenGL?
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.
But remember that on some hardware you can get some problems with textures not having a size that is not a power of two.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
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.
--
Cheers,
Darren Clark
Cheers,
Darren Clark
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.
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...
EXT_framebuffer_object was not found
as for the texture mapping still the same problem, it's all grey...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement