Hi everyone... just a few questions on the picking mechanism:
Imagine I want to pick objects in the scene, but some of them are in wireframe mode... in this case I would like the object to be picked only if I'm really on an edge (or maybe very close to an edge...). This doesn't seem to be the default picking result obtained with something like view->computeIntersections(...) as clicking in the middle of a wireframe rendered face still give a collision. Does anyany have any suggestion on how this would be best achieved ? (Personaly I was thinking about making calculations using the local hit point and the vertices of the colliding face to see how close the hit point is from a given edge) Manu.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

