3
$\begingroup$

would it be possible with geometry nodes to make a shrinkwrap alike effect In such that farther away of the object the effect of impressing becomes increasingly less.

In the simple analogy, I mean the effect of pushing a finger into a pillow.

There is nothing that needs to be fixed for a problem.
I'm just very curious about if this now possible.
And if so how would that look like in nodes ? I think such an example would make me better understand this topic.

And if this becomes possible several boolean alike effects might be very interesting to workout in nodes.

$\endgroup$

2 Answers 2

1
$\begingroup$

Physics is better. But if you want, it's possible to do something like this now, with repeat zones:

enter image description here

I'm starting with a subdivided grid, but it doesn't matter what you start with.

  1. I capture the baseline face area on each face-corner.

  2. I do something to deform the mesh-- here, I'm moving a marked vertex around.

  3. I iterate across the mesh, trying to minimize the difference in face area by moving each vertex toward or away from its faces' centers. Except for the vertices that I've marked as "pin."

These three different steps can be represented by different modifiers. You might first write the baseline face area, then deform with something like a shrinkwrap, then assign to a pinning group with vertex weight proximity, and finally iterate to minimize the difference in face areas, with GN. The first modifier could even be applied if desired.

An alternative thing to do here would be to try to control for the lengths of edges instead of face area. That's what soft body physics do.

A fully realistic model would instead try to control for the volume (obviously, a plane doesn't have any volume, and this mesh would be a poor test of that.) But volume testing would be difficult, at best.

$\endgroup$
0
$\begingroup$

So, this is quite easy but you might want to be patient with this one as we have cloth sims and they are hectic. Sorry but geometry nodes won't work. So to make the pillow as you want. Add a plane, scale it down to the size of the pillow, go to edit mode, and subdivide it 10 times. Now, slightly extrude up the upper part, but very slightly. Then, go to select on top, select sharp edges, and on the top right enable merge, the option near the XYZ and butterfly thingy. Then press S to scale, press Z, and then press 0 to smash the thing.

Now, it has become one edge. Now, for the part which will torture your computer, er... I mean fun stuff. Go to the physics panel and click on cloth. There, enable pressure and set the pressure to 5. Then, if the cushion is landing on anything, enable collisions on the object it will land on. If you run the sim, you will see the cushion is low res. SO add a subdivision modifier and set it above the cloth modifier. Not doing so will change your life for the worse. There, set the viewport amount to 2.

Now in physics properties, go to physical properties and set it to 0.01. You can decrease it more if you want it to be fluffier or increase it to be less fluffy, your choice. Now, to remove that huge gap, go to object collisions in the cloth settings of the cushion and set it to 0.001. Then go to soft body and cloth and set Thickness Outer to 0.001. Then go to the quality of the collisions and set it to 10 for a higher quality collision. If you want to slow down the speed of the falling, you can always increase the pressure. Now, set the cloth simulation quality to 10 if you see some issues. Then, first, apply the subsurface and then the cloth modifier. Do it in this order or you will have a bad time. Now, again add a subsurface modifier after applying the previous 2. Then, right-click on the pillow and shade smooth to give it a beautiful look.

BTW here's the video link if you want: https://www.youtube.com/watch?v=7O0AFgZtAJs

As for the finger effect, like the pressing thingy, you can always use force fields for that.

$\endgroup$
12
  • 1
    $\begingroup$ Sorry i didnt mean it that literally, my question isnt related to sculpting. I want a mesh to be pushable by another object and deform by it. $\endgroup$
    – Peter
    Commented Mar 17, 2021 at 10:06
  • $\begingroup$ Can you share a video or something. Then I will be able to write a better answer. $\endgroup$ Commented Mar 18, 2021 at 3:18
  • $\begingroup$ Well i don't have it yet, maybe push a finger on your belly its just that kinda push effect without wrinkles. $\endgroup$
    – Peter
    Commented Mar 18, 2021 at 9:30
  • $\begingroup$ Well I have changed the answer, hope it works and helps. $\endgroup$ Commented Mar 21, 2021 at 5:34
  • 1
    $\begingroup$ sorry but your missing the point i am not asking for a cloth sim, i know how to use the cloth sim. i'm looking for a deformation using geometrie nodes $\endgroup$
    – Peter
    Commented Mar 22, 2021 at 15:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .