Title: Viewer computeIntersections question

Hello All.

I am considering modifying my movement models based on mouse input. I would like to use viewer's computeintersections that returns a hitlist.  Can I select the closest hit to the viewer's position intuitively or must I search the hitlist for the closest hit? If I have to manually search the hitlist, do you suppose that it will cause a significant performance hit? Maybe there is a better way to force a point in the scene to move along with the mouse that I don't know about. Any advice?

Much appreciated,
John

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to