Hello John,
Thanks ! :) It helped to use the TextureVisitor to disable
unrefImageDataAfterApply.
Glad I could help.
Have you tried to share the OpenGL context
between the widgets to avoid several instances of all object
resources.
I have not tried it, no. It could help, but I think then since the same
context would be used for both widgets, it would have to clear twice to
render the respective frames for each widget, and thus it couldn't be
threaded. Using multiple contexts means you can thread the draw
traversal (DrawThreadPerContext threading model) which will give better
performance I think.
But this is something that could be tested in light of Robert's recent
thread about making a Qt-specific GraphicsWindow subclass.
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org