PDA

View Full Version : Blending Windows with OpenGL



shadowboy
12-22-2004, 04:02 AM
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 ?

Alex Baker
12-24-2004, 03:51 PM
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

shadowboy
12-26-2004, 10:39 PM
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.