My goal is to draw an OpenGL object without drawing the background so that it looks as if the object is floating directly over the desktop. What would be the best way to accomplish this?
As of right now I am drawing to a pixel buffer and have achieved a transparent background, but I do not know how to get that onto the screen. I heard there was a way to use GDI to draw it to the screen using BitBlt(), but I have no idea how to do that. If you could provide code samples, that would be the best, but any help is appreciated.
BTW: I am using developing my app using Qt 4.5 on Windows XP.
This is basically what I want to accomplish: