Dear OSG users,

the methods
GUIEventAdapter.getXmin,
GUIEventAdapter.getXmax,
GUIEventAdapter.getYmin,
GUIEventAdapter.getYmax ...

always return mouse input ranges of -1...1 instead of e.g. 0...1280,
0...800. Because of this bug, the standard picking handler is not working.
The viewer is created by calling viewer->setUpViewerAsEmbeddedInWindow as
done in the android demo.

This also happens, even if eventQueue->setMouseInputRange is called with
the appropriate screen dimensions.

Is there another way to tell the eventqueue, what the input ranges are?

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

Reply via email to