(2020-04-14, 20:15)Roland Melkert Wrote: I was thinking about 'magnets', points which pull on the cloth in certain directions.
The cloth itself is a 2d grid of vertices the generator needs to keep the distance between all vertices roughly the same in order to keep the pattern realistic.
So when you pull on the center the sheet would go into a pyramid shape.
Oof…yeah, then that would have lots of side-effects, because you have to maintain the correct surface area in order for the grid to remain equally spaced. Pulling up the center would then cause the edges to draw in, it would create folds that have to "hang" realistically, etc.…
My way would probably only work for simple forms, where the cloth follows the flattest path between the defined edges (which would have to be constrained to a certain length in order to maintain the surface area).