I think I have found a workaround. I have createad a new GUIEventHandler to 
handle only mouse events. I then check whether menu viewer has handled the 
message. If no, then I iterate through views of composite viewer, locate the 
camera at mouse coordinates and put event into event queue of view contianing 
mouse pointer.

This workaround currently has one known issue. If I drag it too much and cross 
boundary of view, trackball manipulator of next view kicks in. I think this is 
somewhat easy to solve (by storing camera which the drag has begun and stick to 
it until a release event), but it makes me wonder whether I will have similar 
issues that I will need to tend to.

Also, when this menu view is present (which occupies whole screen), movement in 
viewports become visibly slower.

I will try to dynamically adjust menu view rectangle when mouse hits there or 
when a menu pops down.

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





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

Reply via email to