Hi,

I have some problems with a complex display-configuration utilizing
slave cameras and a composite-viewer. Here's the basic setup:

1 compositeviewer handling one view which has only one camera, no
graphicscontexts and 4 slaves. Every slave renders into its own
graphicscontext, representing a window on a screen. (I know I can use a
single viewer for this scenario, but unfortunately i'm bound to
compositeviewer, because i need multiple independent views)

This setup works, despite the trackballmanipulator isn't usable, only
the scroll-wheel gets handled. After debugging the inners of osgViewer +
osgGA the problem lies in resetting the input range of the current
eventstate to -1..1 (compositeviewer.cpp, around lines 778 and 807),
which results in wrong calculations for getXNormalized() and
getYNormalized().

I commented out the two lines in compositeviewer.osg and now my setup
works without problems, but before sending a "fix" to osg-submissions, I
want to ask what's the intent of resetting the inputrange of the event
state?

Perhaps I should modify the osgcompositeviewer-example to show my
usage-pattern, I'll do that if requested.

Thanks for any input,

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

Reply via email to