ggardiner
07-08-2008, 11:45 AM
Hello,
I'm working with Linux and Nvidia drivers, to process videos with OpenGL. I use Glut.
I want to build, in an offscreen buffer, a mosaic composed with images sent by a moving camera.
Then I want to use this buffer as a texture to make different renderings in several independent windows.
This works well with only one window. I use a texture attached to an FBO for the offscreen buffer. Then the texture is rendered with a glQuad and a shader in the output window.
How can I use the same texture to make a rendering in a second window ?
Thank you.
I'm working with Linux and Nvidia drivers, to process videos with OpenGL. I use Glut.
I want to build, in an offscreen buffer, a mosaic composed with images sent by a moving camera.
Then I want to use this buffer as a texture to make different renderings in several independent windows.
This works well with only one window. I use a texture attached to an FBO for the offscreen buffer. Then the texture is rendered with a glQuad and a shader in the output window.
How can I use the same texture to make a rendering in a second window ?
Thank you.