Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rayIntersection node

rayIntersection node

still waiting to see this after decades. Not closest point in mesh, not shrinkwrap, just a node (or command, ideally both) that takes a point, a vector and a target surface and returns an intersection point.

4 Comments
roure_osso
Participant

I'd like a light and more robust version of it, but you already have the keepOut node :]

But I agree that it would be nice to get n number of intersections, that it wouldn't be slow if the mesh where you are projecting is being deformed... 

sepu6
Advisor

You can do it in the graph Bifrost

roure_osso
Participant

Absolutely, but just like they recently added new math nodes, having it as a native node would make it faster computation wise.  

If you wanna do this through code you should lookup the `MFnMesh::closestIntersection` method. This performs a ray intersection on the attached mesh object.

 

I've also made a plugin that utilizes this method which can be found here: https://github.com/bhsingleton/RayIntersection 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Technology Administrators


Autodesk Design & Make Report