"Tony Vasile" writes:

> Hi,
> Is it is possible to have an intersection query return the surface or
> triangle that has been hit rather than a point? I have seen
> PlaneIntersector but it seems to return a list of points rather than
> the surface that contains those points. Correct me if I am wrong. Any
> help would be appreciated.

Hi, Tony.  The intersection objects returned also hold the drawable and
the index of the primitive being hit. See:

http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00424.html

-- 
Alberto

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

Reply via email to