Hi,

We are having trouble using a CompositeViewer with 2 views in 2 windows, 
showing the same scene (same Node*).

The first view (in addView order) is rendered correctly, but the second view is 
badly rendered with some missing or garbled geometries.

If only one view is added, its rendering is fine. If instead of 2 windows, we 
use only one window with two contiguous viewports, rendering is fine.

Each view has its own Camera and GraphicsContext. We use GraphicsWindowQt with 
or without the shareWidget argument. Using setUpViewInWindow() instead does the 
same.

Seems that the first render is misusing the GL context or something so that the 
other has trouble. Threading is set to SingleThreaded to avoid potential 
sharing problems (but the TaskManager is showing many running threads (?)).

The problematic models are FBX exported from 3ds Max, BTW.

Is there any setting that has to be set in OSG/CompositeViewer to tell it that 
the scene is shared? Does anyone have an idea what can be wrong in such a setup?

Thank you!

Alvaro

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50406#50406





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to