Having more buffers? glReadPixels

Started by
1 comment, last by Seikilos 15 years, 8 months ago
I have a problem I use to render a scene with open gl and than use glReadPixels to save the current framebuffer. What I want to achieve is to display something on the screen but saving something different with glReadPixels, is that possible? I am rendering a scene with visual debug output for the user in the scene but what I want to save does not contain the debug output, so what I try to achieve is to create a copy of my scene without some output and save that. I can't use the user view for that since this would flicker to much ( I need several operations without the debug output) Can I create a user specified buffer or something like that?
My timezone is GMT+1 so excuse my 'late' postings :)
Advertisement
Yes, you can create special buffer. It is called framebuffer object. Read here: http://www.gamedev.net/reference/articles/article2331.asp
That did it, thanks !
My timezone is GMT+1 so excuse my 'late' postings :)

This topic is closed to new replies.

Advertisement