3
$\begingroup$

I have recently been getting into some physis simulations with blenders rigid body. I have a basic understanding of cell fracture and rigid body constraints.

Here is what I don't know how to approach: Let's suppose I have a large wall and want to break a comparably small hole into it (for example with some bullet). What I would do is cell fracture the wall, connect the particles with constraints and setting the breakable threshhold to such a value that only the desired area breaks. However, there are still seams between all the other parts of the wall which are in no way affected by the simulation.

How can I do a simulation in such a way that only the relevant particles are fractured and the rest remains untouched?


What I mean can be seen at about 8:57 in this great video (I didn't make it, just my opinion): The part of the cube that isn't shattered still has fractures which shouldn't be there.

$\endgroup$
1
  • $\begingroup$ @Edgel3D Your two links show exactly what I want to achieve. Maybe you could go into some more detail in an answer? $\endgroup$ – Jonas Jan 7 at 17:00
2
$\begingroup$

If you're unfamiliar with masking, read up what you can for your particular version of Blender. See Here for a general description.

The example here is using a 3D mask and rendered in OpenGL but plain ol' vanilla 2D masks work just as well.

As for the cell fracturing, that was simply a cell-fractured cube the same size as the mask and hole. It was placed inside the wall. A few particles were emitted from the same area for small debris effect.

The hole in the wall can be any shape you wish. This one came from a subdivided cube. It was given the 'Randomize' beauty treatment so it ended up jagged on all sides. (Tools panel)

That was then sliced in Edit mode so it ended up like a thick slice of bread, two flat walls (the bread) with it's crusts still jagged.

The flat front face was removed and used for the mask, the back one deleted and the jagged sides left as they were to give the hole it's depth.

The front face (removed) is moved to a separate layer which is designated to be the Masking layer. Anything placed in there automatically becomes a mask and will cut a hole through the other layers .

This particular hole will obviously need it's walls but the mask is going to take them out. We get around that by doing two renders to mix in the VSE. One overlaying the other.

The 1st is called 'Top'. That is alpha layered so the hole is rendered as transparent. The 2nd is called 'Bottom' and that doesn't need (or want) an alpha layer, nor does it include the mask layer. (An extra brick was inserted in the wall for effect)

.

When the two are mixed in the VSE, 'Top' on the upper strip, 'Bottom' underneath, we get the result shown at the top of this answer.

Note - the Top strip has to be set to "Alpha Over" in the VSE at right. (Press N)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.