Re: [osg-users] How to pass unhandled events to view behind + osgWidgets

2009-04-05 Thread Jason H.
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

Re: [osg-users] How to pass unhandled events to view behind + osgWidgets

2009-04-05 Thread Robert Osfield
Hi Jason, Good to hear you've found a solution. Managing the events with a composite viewer is a bit more complicated because of deciding who gets the event focus. The API of osgViewer::View/CompositeViewer probably needs evolving to make it easier, exactly what it should look yet I can't say.

[osg-users] How to pass unhandled events to view behind + osgWidgets

2009-04-04 Thread Jason H.
Hi, I have recently posted a question titled viewer confusion and text. Robert helped me out constructing the basic layout for my simple demo. I have encoutered with something very challenging for me, as I am quite new to OSG. Goal: Designing a simple CAD-like demo app that will display a