softbody cut - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: softbody cut (/thread-3699.html) Pages:
1
2
|
RE: softbody cut - manurocker95 - 20-07-2023 (19-12-2022, 12:30 PM)josemendez Wrote: You don't. A demo of this at some point would be top notch. Anyway, to understand the breakdown here: - Detect the particles affected by the cut - Search for the constraints that include those particles - Break the found constraints. How about the remeshing/unbinding + rebinding part? RE: softbody cut - josemendez - 25-07-2023 (20-07-2023, 12:14 PM)manurocker95 Wrote: How about the remeshing/unbinding + rebinding part? Hi, Remeshing is the difficult & expensive part of the problem, and mainly the reason why softbody cutting is not built-in into Obi. There's many ways to tackle it, some I can think of: - Start off by tetrahedralizing the base mesh. Whenever a shape matching constraint breaks/tears, find the closest tetrahedra and split it along its faces. This is analogous to cloth tearing, only in 3D. Keeps the shape of the mesh's surface intact and is probably the cheapest solution -even if still expensive- but its only as good as your tetrahedral mesh is. - Rebuild the mesh every frame using isosurface extraction from particles, something like surface nets or marching cubes. Expensive and only respects the shape of the input mesh as much as its particle representation does. - Use a directed hole-filling algorithm to bridge cuts in the mesh. kind regards, |