I have a scene with tree branches and leaves.
Each tree branch is a mesh and all leaves is one mesh.
What I want to do is get leaves which intersect with one branch and separate it.
I know I can do that through Max vol. select with crossing mesh object, an the result I want is like this
I am wondering if there is a way to do this in Maya, since I want to write a script for that, I cannot just use my eyes and hand select leaves I want.
For now I thinking I may just separate all leaves into different meshes and trying to find those who is intersect/crossing with the branch and then combine it back. It’s a dumb way>"<
Maybe someone have a good way to do that in Maya?
Thanks >"<