[osg-users] mouse xyz -> object xyz

olesita tut olesitamail at yahoo.com
Thu Nov 12 11:13:14 PST 2009

Hello everybody,

I trying to write a simple application with osg to perform the following:
1. take user input, mouse click xy coordinate
2. find intersecting coordinate in the objects in the scene such as lines and points.

I can get mouse xy and using 
view->computeIntersections(mouseX, mouseY,intersections)
I can get intersections with sphere, cube and heightField but not with lines or points.

Any ideas what's going on?

Thank you!


Read this topic online here:

More information about the osg-users mailing list