E. Wing schrieb:
I checked my windowing system events. I get returned a deltaX and
deltaY for my scroll events which I pass to mouseScroll2D, but nothing
happens with the viewer.

My camera manipulator is set to an osgGA::TrackballManipulator. The
mouse button and mouse motion events do work for me.

What am I missing?
The manipulators do not evaluate the mousescroll2d-values, so the manipulators do not work with the MightyMouse (or AFAIK with any scroll-wheel). You'll have to add support for this in the manipulator's code by yourself.

I added the new event-type only to Producer and osgGA, so I can get the scroll-values in my own osgGA-Eventhandler.

Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to