I'm having a problem using the computeIntersections method of the View class in 
osgViewer namespace.  I'm trying to perform picking, but not using a mouse 
click or event on the window.  

Here is the issue: if I don't click inside the window of the OSG application at 
some point in time, then the computeIntersections method returns no 
intersections and fails.  If I do click anywhere inside the window of my 
application, then any time after, computeIntersections works fine.  I know in 
most applications people are using the mouse events for picking, but in my 
application this is not an option.  

I tried stepping through the source code, but I am not seeing anything 
different between the the case where I did and didn't click on the window when 
trying to use computeIntersections.  I searched the forums and on google, but 
haven't found anyone else with this issue. 

Any ideas or assistance is appreciated.

Daniel

------------------
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6682#6682





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

Reply via email to