Hi Robert, thanks for your answer. I now switched to use triangles for the intersection mesh. This works, but only if I disable using the KD tree for intersection testing.
When I do >> intersectVisitor.setUseKdTreeWhenAvailable(true); the primitiveIndex values are not correct. When I switch this to false everything works correctly. I'm sorry I can't provide a better test case at the moment as I am in a hurry to get my stuff done. Cheers, Martin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9453#9453 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

