4
$\begingroup$

I would like to create the following animation: one mesh scrapes the other.

I think the best option is to animate the boolean modifier, but the boolean difference disappears as the object moves. I would like the difference remain to make it look like a scratch.

enter image description here

The next idea was to use dynamic paint (displacement), but it leaves a lot of "artifacts", I believe due to dragging the outer vertex?

enter image description here

Could you suggest me other solutions that may work as intended? I tried searching for it on the internet but with no luck so far.

Edit: The above examples are simple, but what about more complicated scratches? enter image description here

$\endgroup$
3
  • $\begingroup$ Hello, what is the mesh density of your bigger cube ? (ie how subdivided is it ?) $\endgroup$
    – Gorgious
    Commented Oct 5, 2020 at 9:56
  • $\begingroup$ Hi, I did this just for an example and did not care about the resolution, it's just for the illustration. I'm looking for solution that starts carving in one edge of object and ends on the other edge. Dynamic paint works great when you start somewhere in the center of the object, pushing vertex to the inside like here youtube.com/watch?v=Kcy_KBCsx70. But when you start from the edge it drags the outer vertex making something like artifacts. $\endgroup$
    – Stricte
    Commented Oct 5, 2020 at 10:22
  • $\begingroup$ I once made a couple of suggestions in answer to a similar question, here.. I wouldn't know how suitable they are.. $\endgroup$
    – Robin Betts
    Commented Mar 11, 2021 at 10:22

2 Answers 2

1
$\begingroup$

If you inset a plane, so the inner quad has vertex normals going up, and then assign a new material to that quad only, and in the material use vertex color as displacement, you get something that looks like a cube. You can scale down the ring around the displaced quad, or you can assign a transparent material to these faces. Then subdivide the inner quad a lot, add the dynamic paint canvas, and add a dynamic paint brush to the small cube with which you scrape off material. I get no artifacts, but again in order to get somewhat smooth results, I had to subdivide a lot:

GIF

$\endgroup$
0
$\begingroup$

In the first example why not use a rectangle instead of a square for the boolean so the backside is longer and doesn't disappear as it goes over the bottom cube. You could animate lots of strange shapes for options.

You may also want to do something like in the unrelated answer to this question here:

Animating appearing/extending strip with gaps

$\endgroup$

You must log in to answer this question.

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