Jump to content

Vellum, PBDs or....


Recommended Posts

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?

 

Who is Texstyleroofs? - Texstyleroofs.com

Catenary by David Spencer / 500px

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...