Cloth Sculpting improvements in Blender 2.91

Cloth sculpting was initially introduced in Blender 2.83 with the Cloth Brush. In 2.90, the Cloth Filter was added, which allowed cloth-like simulations to be run from Sculpt Mode. 

Blender 2.91 has made major improvements to cloth sculpting, vastly improving the usability of these tools.

New Cloth Snake Hook brush.

Collisions

The Sculpt Cloth Solver in 2.91 features initial support for collisions, both in the brush and in the Cloth Filter. The simulated cloth collides with objects which have a collision modifier, just like the regular cloth modifier.

Cloth Brush with collisions enabled

The cloth solver collisions in 2.91 are raycast based. This means that they can collide with any type of geometry (even non-manifold) and vertices will be stopped by the surface of the collider. Which translates to a new level of precision. 

As a disadvantage, if a vertex from the cloth is inside the collider, the solver won’t be able to move it outside. The plan is to implement SDF (Signed Distance Fields) collisions as a way of solving this issue. This should make it possible to choose between more precision or more stability.

Self collisions are also planned. At the moment, they can’t be implemented efficiently for technical reasons. For those who are interested, the issue is the leaf node size of the PBVH. Reducing the leaf node size is also planned as part of Blender’s sculpt optimization project. After this is complete, self collisions should not be hard to implement. 

Soft Body Plasticity

Cloth Snake Hook brush with different levels of plasticity.

The Cloth Brush now supports plasticity, which controls how much the object tries to preserve its previous shape. This means that when the solver deforms the mesh, it tries to preserve the deformed shape during the simulation. This help to make some brushes more controllable and predictable, as well as allowing the simulation of different materials. 

Support for plasticity collisions is also planned after SDF (Signed Distance Field) collisions are implemented.

Cloth Deformation Target

In 2.91, the Boundary and Pose brush can also be used for cloth simulation by setting the Deformation Target to Cloth Simulation.

Boundary and Pose brushes with cloth simulation deformation target

The deformation these brushes produce allows the creation of common cloth effects, like curtains or sleeves folds…without relying on collisions.

In the future, all brushes in Sculpt Mode will support the cloth deformation target, so it will be possible to run the cloth solver on top of any brush deformation. 

Dynamic Simulation Area

In the first versions of the Cloth Brush, the cloth simulation was constrained by the initial area of the stroke. The alternative would have been to run a full cloth simulation on high poly meshes, which puts huge pressure on a machine’s performance.

Pinch Perpendicular and Inflate with dynamic simulation area on a 800k vertices mesh.

In 2.91, the dynamic simulation area initializes and activates the constraints and the simulation as the brush moves. As the stroke is drawn, more constraints are created and added to the solver, but the simulation only runs using the constraints that are closer to the brush tip. So you can use the brush continuously without interruption, which means you can focus on the creative process.  

Thanks to the fade areas defined by the simulation falloff, the brush can blend the simulated and not simulated mesh seamlessly. 

Other improvements

The cloth brush and filter also include other improvements:

  • The cloth brush can now define a persistent base. This means that the same initial cloth shape can be simulated multiple times with different strokes. So you can start and stop whenever you need.
  • The cloth brush can apply global gravity and simulate the entire mesh during the stroke. In other words, the cloth effect is applied consistently throughout the scene.
Cloth Grab Brush with gravity applied to the whole mesh.
  • There is a new “pin simulation boundary” which allows creating better anchored stroke cloth brushes.
  • The cloth filter now supports custom orientation and has a new Scale mode.
  • There is a new Snake Hook deformation mode, which moves the cloth without creating artefacts in the simulation.
Gravity Cloth Filter with collisions and view orientation.

You can help the project by testing the new tools and hunting for bugs. If you find any please report it from within Blender, simply go to the menu Help → Report a Bug, or watch this video about the process.

Daily builds are available as always on blender.org/experimental.


Support Blender development with a monthly subscription at fund.blender.org

11 comments
  1. How do you attach gravity?

  2. Cloth brush is very cool, but it crashes my blend files ALL the time when Shift smoothing while in Sculp mode and using the drag or grab brush.

  3. Does anyone have a good to the point video of how to do this in 2.91. I can only find older videos.

  4. Very cool! Also a test post :)

  5. Achieving a stable results in this brush is hard ! Specially drawing (sculpting) straight lines.

  6. These are some great improvements. Very welcome!

  7. Thanks so much for the blog post Pablo, it’s been a while since there’s been one on code.blender.org!

    I love the work you’re doing on the sculpt mode in Blender, thankyou so much for all your hard work.

  8. Getting so accurate that I’ll feel like I’m cheating at sculpting

  9. This is ingenious. Really, this tools are just godsend, making things that required many hours on manual fiddling before!

  10. Very welcome improvments to the cloth sculpting, especially the dynamic simulation area, for more controlled strokes, as well as cloth filers, and of cource, looking forward to the peformance improvments for sculpting, as always, stellar job pablo, sergey and julien and others <3, lots of love.

In order to prevent spam, comments are closed 15 days after the post is published.
Feel free to continue the conversation on the forums.