From 4a373afa5fb8f9eab92314fac1b140b7803f30fe Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Fri, 28 Feb 2020 14:40:40 +0100 Subject: Sculpt: Cloth brush This brush has a simple physics solver that helps when sculpting cloth. - The mass and the damping properties of the simulation are properties of the brush. - It has two additional radius control to limit the influence and falloff of the simulation. - Masked vertices are pinned in the simulation, and it applies the sculpt gravity directly in the solver. - The Cloth Brush has 7 deformation modes with 2 falloff types (radial and plane). The brush can create the constraints only on the required PBVH nodes, so the simulation is isolated on high poly meshes. As long as the brush size is not too big it should be possible to keep it real time. Known issues: - The way constraints are created is extremely basic and it creates repeated constraints. Maybe there is another way to create fewer constraints while keeping the simulation quality decent. This part can also be multithreaded. (As it is it works ok, but it could be better) Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6715 --- source/blender/editors/sculpt_paint/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/sculpt_paint/CMakeLists.txt') diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt index a5cc262ddcd..2522bc0f5cc 100644 --- a/source/blender/editors/sculpt_paint/CMakeLists.txt +++ b/source/blender/editors/sculpt_paint/CMakeLists.txt @@ -59,6 +59,7 @@ set(SRC paint_vertex_weight_ops.c paint_vertex_weight_utils.c sculpt.c + sculpt_cloth.c sculpt_undo.c sculpt_uv.c -- cgit v1.2.3