[osg-users] Qt / OpenGL / OSG

Robert Osfield robert.osfield at gmail.com
Wed Mar 4 00:43:09 PST 2009

HI Serge,

On Tue, Mar 3, 2009 at 3:36 PM, Serge Lages <serge.lages at gmail.com> wrote:
> Hi all,
> Have you seen this :
> http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-opengl/
> Do you think it can be a viable solution to have a simple 2D UI with OSG ?

It should be doable.  The thing you'd need to be careful about is
protecting the OSG's OpenGL state changes from the Qt OpenGL code and
visa-versa.  With Qt being open source it should be possible to dig
into the internals and figure out what OpenGL state it does change.

Now that the Qt 4.5 is out there is also the possibility of using the
Qt webkit integration for using it to embedded a browser into our 3D


More information about the osg-users mailing list