drorlawa : OSG is very different from Vega Prime. frankly the only thing I miss 
in OSG is the LynX editor you have with Vega Prime. I believe someday such 
editor will be added to OSG.
To your question, afte you setup osgUtil::PolytopeIntersector to you r entire 
screen you will get all the polygon on screen it's up to you to search the one 
you need. using an iterator

osgUtil::PolytopeIntersector::Intersections::iterator it;
                for (it = picker->getIntersections().begin() ; it != 
picker->getIntersections().end() ; ++it)
{
..... do here what you nedd
}
that's it

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10905#10905





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to