Blender Git Loki

Git Commits -> Revision c2f0522

Revision c2f0522 by Pablo Dobarro (master)
August 18, 2020, 15:16 (GMT)
Sculpt: Enable Cloth Simulation Target for Pose and Boundary

This adds a new brush property called "Deformation Target" which
controls how the brush deformations is going to affect the mesh data. By
default is set to Geometry, which makes the brushes displace the
vertices. When set to Cloth Simulation, the deformation of the brush is
applied to the cloth solver constraints, so the simulation is
responsible to apply the final deformation. This allows to add cloth
simulation effects to other sculpt tools with minor modifications to their
code.

This patch enables Cloth Simulation deformation target for Pose and
Boundary brushes, which are tools that are already designed to work in
low poly counts and produce large deformations. This allows creating the
most common cloth effects, like bending and compressing folds, without
relying on collisions.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8578

Commit Details:

Full Hash: c2f0522760b24b746b1f1686f91198c643b6b4c2
Parent Commit: bedd6f9
Lines Changed: +118, -22

8 Modified Paths:

/release/scripts/startup/bl_ui/properties_paint_common.py (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+31, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_boundary.c (+17, -7) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+21, -10) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+13, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_pose.c (+4, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+20, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021