Yes, I have read the FAQ after posting my mail.
Sorry.
So, I have to affect the context ID for each osgUtil::SceneView State.
If each scene view have a different context ID, these scene view will
not share
the textures, display lists, ...
I want them to be shared. Have I to set a unique ID for each State ?
Lionel Lagarde wrote:
Hi,
In our application, we create more than one rendering windows. These
windows
are managed by Qt and are created with the share context parameter.
Is there some special thing to do in OSG to be able to render in these
windows.
Currently, it works but we still have problems with textures.
In the first created window, there is no problem. In the others, some
textures
are replaced by other ones.
If we close all the windows and open a new window, the renderer scene
has no
textures.
Everything is shared. We use the osgDB::Registry object cache and all
the windows
(osgUtil::SceneView) use the same scene graph.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/