Hi Anders, On 6 August 2013 07:57, Anders Backman <[email protected]> wrote: > What is the appropriate call for achieving the same thing now with OSG 3.2.0 > when the method Viewer::getCameraFocus is gone?
I have added information about which camera the event is over to the osgGA::GUIEventAdapter, it now has a PointerData stack, the topmost entry will be the one with the focus, and it's PointerData.object member variable will store the pointer to the Camera. This new scheme can handle situations where you have distortion correction or other RTT techniques being deployed in the Viewer. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

