Blending Windows with OpenGL

Hi,

How can you blend a Window with another OpenGL window. I have a GUI in one application an a renderer in another. How can I blend parts of the GUI and the rendered image together into one window ?

hello,

one way would be to render the content of both windows into two seperate textures; then you could blend this two textures.

Cheers,

Alex Baker

Well the one win32 app will already be running when the OpenGL app starts up, the OpenGL app should the render its data to one part of the screen, but the win32 app is rendering to the whole screen. The win32 does not use OpenGL…
but the OpenGL app does ofcourse, and its this app that should handle the blending. The Win32 app should not be changed if possible.