I need to be able to render something of an arbitary size (not power of 2 and possibly bigger than the max texture size) and then save it to the vid card mem. I want to be able to load it up later and blend it with whatever is in the framebuffer at that time. I’ve looked at the ARB Buffer Region extension but it just replaces what was in the framebuffer when you restore a region.
Is there any way to do what I want to do? The best I could think of was to divide the image into smaller sections and save everything as textures. I don’t really want to do that tho if I don’t have to. I’ve only been using OpenGL for a few days so I’m not sure where to look, anyone got any pointers?
If it should be bigger than the maximum texture size it is probably also bigger than the maximum viewport size.
You need to render it in tiles and store it in individual textures.
Check this out: http://www.mesa3d.org/brianp/TR.html