Zetha Posted March 24, 2023 Share Posted March 24, 2023 Hello I was trying to make hanging chains and textile simulations, like the images. I have found multiple ways using PBD, Vellum, as well as people speaking about using FEM. What aproach would you suggest for these type of simulations? Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 24, 2023 Share Posted March 24, 2023 For static models I mostly just fake gravity based on curve lengths or surface distances: https://procegen.konstantinmagnus.de/spider-web https://procegen.konstantinmagnus.de/minimal-surface-membrane Eg. for resampled curve segments on a spider web, a is the user defined hanging amount, u the relative and r the absolute length. u * (1.0 - u) is a function to make the curves hang in their center. float a = chf('amount'); float u = vertexcurveparam(0, i@vtxnum); float r = primintrinsic(0, 'measuredperimeter', i@primnum); v@P.y -= u * (1.0 - u) * a * r; spiderweb.hipnc Quote Link to comment Share on other sites More sharing options...
Zetha Posted March 25, 2023 Author Share Posted March 25, 2023 Thanks, that looks nice. But if you want to make a simulation, what would be the way? Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 25, 2023 Share Posted March 25, 2023 @Zetha for the Chains . wiresolver.hiplc Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 25, 2023 Share Posted March 25, 2023 5 hours ago, Zetha said: But if you want to make a simulation To animate the spider web threads, you would pin the end points and set vellum to the constraint type 'string'. For membranes to 'cloth'. spiderweb.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Zetha Posted March 25, 2023 Author Share Posted March 25, 2023 Thank you very much I guess PBD would be an old method or less effective? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.