Hi Riccardo,

I can't speak to the specific slow down you're encountering with context
switches. I tried to solve a similar problem (osg in qt quick) but I don't
use context switching -- I could never figure out how to get that to work
correctly so I'll have to go through what you did carelfully :)

Have you checked out the following docs:

http://doc-snapshot.qt-project.org/qt5-dev/qtquick/qtquick-visualcanvas-scenegraph.html
http://doc-snapshot.qt-project.org/qt5-dev/qtquick/quick-scenegraph-textureinsgnode.html
http://doc-snapshot.qt-project.org/qt5-dev/qtquick/quick-scenegraph-textureinthread.html

And here's my attempt [copy of the method used in the docs but with an osg
embedded viewer and *no* context switching -- I just reset some specific
state]

https://github.com/preet/scratch/tree/master/qt5/qquickfboviewport
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to