Hello I recently changed my application from using Viewer to CompositeViewer with one view (currently...). Everything seems to work as before, except for picking. I think I traced down the problem, I would like to know if I'm correct:
in CompositeViewer::eventTraversal() there seems to be missing a line in the form of: eventState->setInputRange(.....) the line is present at Viewer::eventTraversal() but missing in CompositeViewer. I believe this causes problems during View::computeIntersections, specifically in the View::getCameraContainingPosition() method, since the calculation of new_x and new_y is incorrect because the values of Xmin, Xmax, Ymin and Ymax in the eventState are not initialized properly according to the viewport. I hope I made myself clear, please let me know if this is indeed a bug or a missing line, or if it's something I need to do manually in my application (set the eventState min/max values) Thanks, Roni
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

