[osg-users] "osgcompositeviewer -1" issues

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Thu Feb 28 07:02:07 PST 2008


Hi Paul,

> Second, and more worrisome, the TrackballManipulator appears to be 
> ignored with the "-1" argument. In other words:
> 1) Run "osgcompositeviewer -1 cow.osg" on a dual-screen Windows system.
> 2) Two fullscreen windows open, displaying fountain.osg.
> 3) Use left or right mouse motion in either window; the camera position 
> does not change. The view remains static (though the fountain particle 
> animation is playing).
>  
> Do you see this on Linux? Is this a known issue?

Look closely - the scene moves, just *very very* little.

It's a bug in osgViewer/CompositeViewer.cpp which I submitted a fix for 
about a week ago. When a single view is on multiple displays (so the 
slave camera mechanism in osgViewer::View is used) the viewport extents 
are not set correctly in the eventTraversal, so when the mouse events 
are translated they have wrong values and the mouse movement has very 
little effect.

I haven't gotten any news about it being integrated into SVN yet, and 
your report seems to confirm it hasn't... Any reason for that Robert? Is 
there anything I need to do to get it integrated?

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/


More information about the osg-users mailing list