Hi René, sorry I forgot to reply my own thread when I found the solution. I was simply missing a glFlush() call after rendering the osg frame in its own gl context! I still haven't update the code on github, will do it tonight.
Cheers, ricky On Fri, Jul 5, 2013 at 10:19 AM, René Schmitz <[email protected]> wrote: > Hi, > > after trying to create a osgQML item myself and finding both of your > projects, I thought I'd let you know that I ended up using > QuickPaintedItem as it can draw to a FBO (I had to use the y-inverted one). > > This solution works charming and spares me the hussle of creating FBOs > myself or switch contexts. I have to admit though that I don't need > permanent updates of the scene, just reacting to mouse and keyboard > events and that there might be a drawback in performance if the scene is > updated permanently using a timer. For that maybe the "textureinthread" > example coming with the Qt sources might offer a better way. > > Hope that helps. > > Cheers, > René > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55146#55146 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

