Hi Tobias,
Am 12.12.11 21:24, schrieb Tobias Ottenweller:
1 - osgViewer::Viewer
Setting up a viewer without calling 'setUpViewOnSingleScreen()' will
display the current scene on all available screen. As far as I
understand this is not a bug but a feature :). But doing so
OpenSceenGraph does not respect the arrangement of the displays. I
didn't test a lot (and only with two displays), but it seems that the
main screen is always assumed to be the left one.
AFAIK you'll see this on other platforms too. There are some missing
parts in osg::GraphicsContext::WindowingSystemInterface to report the
relative position of a screen in relation to the other screens / main
screen. Without that information, it's hard to compute a correct
window-layout.
2 - osgGA::GUIEventAdapter::ScrollingMotion
I'm trying to write my own camera manipulator. Overwriting
handleMouseWheel of the class StandardManipulator did not work out so
well. The problem is that I'm only getting 'SCROLL_2D' events. I found
post about this earlier today saying it has been fixed (sorry lost the
link).
Not sure about that -- what should be reported? Scrolling-Events with
modern input (touchpad, magic mouse) produce SCROLL_2D-events, if you
attach a mouse with an old scroll-wheel, you'll get
SCROLL_DOWN/_UP-events. The bug/missing feature lies in
StandardManipulator not handling SCROLL_2D-events correctly. Feel free
to implement them and submit it back to the community.
3 - osgGA::GUIActionAdapter requestWarpPointer()
I'm trying to keep the mouse cursor always in the middle of the screen
which works as expected. But after doing so the input freezes for about
quarter a second. I found this forum entry:
http://forum.openscenegraph.org/viewtopic.php?t=3933 . Did anybody
already find a solution for this?
Have you tried the suggested fixes in the mentioned thread? Did they
work? If so can you prepare a submission for osg-submission?
cheers,
Stephan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org