Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2022-07-25 22:12:50 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2022-07-25 22:12:50 +0300
commit515c28c47e386ae2be5f768e20ccd08f15c0eba3 (patch)
tree143dfe7e8798d3eb6dfea7f7282c48ede158ceee /source/blender/editors/sculpt_paint/CMakeLists.txt
parentd023992a4c49a95660e4a20c948ea4f6f22581b6 (diff)
Curve sculpt: Improvements and testing for collision constraint solver.
Collision is now optional in the curve sculpting tools and disabled by default (button next to X/Y/Z symmetry settings). Moved constraint solver into blenkernel for wider accessibility. Changed collision method from raycasts to substeps with sphere casts. This method of finding and resolving contacts is recommended by the XPBD author. It avoids continuous collision detection (CCD) with raycasts in favor of using a number of substeps. The range of potential contacts is limited by the size of the overall allowed step size and number of substeps. The length constraints now work in both directions except for the first segment, which avoids numerical stiffness close to the root. Constraints now follow a stricter general recipe, which should make it easier to implement future constraints with more complex constraint functions and gradients. The solver now outputs results with overall numerical error metrics and timings. Added a basic performance test for the curves constraint solver. The test is parameterized for over a range of substep counts.
Diffstat (limited to 'source/blender/editors/sculpt_paint/CMakeLists.txt')
-rw-r--r--source/blender/editors/sculpt_paint/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt
index 0c0359c7508..edb0f1cda4d 100644
--- a/source/blender/editors/sculpt_paint/CMakeLists.txt
+++ b/source/blender/editors/sculpt_paint/CMakeLists.txt
@@ -31,7 +31,6 @@ set(SRC
curves_sculpt_add.cc
curves_sculpt_brush.cc
curves_sculpt_comb.cc
- curves_sculpt_constraints.cc
curves_sculpt_delete.cc
curves_sculpt_density.cc
curves_sculpt_grow_shrink.cc