Skip to content

Cutting a cloth under stress #3161

Closed Answered by epernod
sin3point14 asked this question in Tearing
Jul 22, 2022 · 6 comments · 8 replies
Discussion options

You must be logged in to vote

The idea is to compute all your position switching from the 3D world coordinates to the local frame of your triangles.
I.e:

  1. you start from the stressed triangle, and your rupture point 3D position
  2. you compute the direction of your cut
  3. you check for triangles in this direction
  4. you navigate using topology structure from one triangle to another and you propagate your cut direction
  5. etc...

In fact the pipeline I just described is used in the Tearing plugin which looks like what you want to do: https://github.com/InfinyTech3D/Tearing
It is implemented somewhere here: https://github.com/InfinyTech3D/Tearing/blob/eba7b4f25cfec15b3d733be2511886b0799dda36/src/Tearing/TearingAlgorithms.inl#L54

Let…

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@sin3point14
Comment options

@sin3point14
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@hugtalbot
Comment options

@epernod
Comment options

@sin3point14
Comment options

@epernod
Comment options

Comment options

You must be logged in to vote
2 replies
@hugtalbot
Comment options

@epernod
Comment options

Answer selected by epernod
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants