Hello all,

i use the intersectVisitor to get the intersection between a ray and a
geode. It works fine and I'm very happy, because it is very comfortable.
Now I have the point (vector) of intersection, but I need the triangle
of the drawable what I hit. I would like calculate the barycentric
coordinates of the point. With this coordinates I want to calculate the
texture coordinates of my intersection point.

There are a comfortable way in osg? Or have anyone a idea for a nice
solution? I think the intersectVisitor find the triangle, but i can't
get this information.


Cheers

Martin

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

Reply via email to