PDA

View Full Version : Using frame buffer object as main window



scarecr0w132
03-19-2014, 10:22 PM
Hello,

I am using an OpenGl library to draw on a window, and using Qt as the UI.
I am trying to add transparent widgets on top of the view. doc.qt.digia.com/qq/qq26-openglcanvas.html
So it requires me to reimplement drawBackground function and put opengl drawing in there, but I am using a library that does all OpenGl commands this itself and renders it to a window.

I am thinking of rendering it into a frame buffer object, then drawing the FBO inside drawBackground function.
Is this a smart thing to do, or even possible? (I am new to OpenGl)

Thanks!

scarecr0w132
03-22-2014, 10:29 PM
Friendly bump :)