Fernando Giovanini schrieb:
Hi, Andreas.
But what method I can use to set the EventHandler in the sceneView?
Because in the Viewer I do this:
viewer.getEventHandlerList().push_front(new PickHandler(&viewer));
but the SceneView don't have the getEventHandlerList method.
Thanks,
Fernando.
Hi,
you will have to use the event-handler of the gui-toolkit that you use!
I don“t know GLUI, but it seems that there are callbacks for
mouse-movements.
The best would be if you have a look at the osgsimpleviewer-examples in
cvs and made an osgsimpleviewer-glui example.
Regards,
Andreas
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/