OpenGL rendering on desktop [modified]
-
-
How to render opengl objects on windows desktop without attaching to the Desktop Window DC. I mean it looks like rendering opengl scene on a window,but the window is totally transparent. Thank you all
modified on Sunday, December 19, 2010 9:39 PM
Check out SetLayeredWindowAttributes [^]in the Win32 API Use OpenGL Background colour with with RGBA 0. Search google it's quite simple really.
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
-
Check out SetLayeredWindowAttributes [^]in the Win32 API Use OpenGL Background colour with with RGBA 0. Search google it's quite simple really.
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
-
How to render opengl objects on windows desktop without attaching to the Desktop Window DC. I mean it looks like rendering opengl scene on a window,but the window is totally transparent. Thank you all
modified on Sunday, December 19, 2010 9:39 PM
I think this[^] has the answer you're looking for (particularly answer 4). It isn't as simple as it seems and the other solutions I've seen simply set a transparent replacement colour, which is going to result in popping pixels if any part of your rendered objects happen to contain that colour. Hope this helps. Cheers, Drew.
-
I think this[^] has the answer you're looking for (particularly answer 4). It isn't as simple as it seems and the other solutions I've seen simply set a transparent replacement colour, which is going to result in popping pixels if any part of your rendered objects happen to contain that colour. Hope this helps. Cheers, Drew.