Sculpt: Elastic Deform Brush

This patch implements the paper "Regularized Kelvinlets: Sculpting Brushes based on Fundamental Solutions of Elasticity" https://graphics.pixar.com/library/Kelvinlets/paper.pdf

It includes grab, biscale grab, triscale grab, scale and twist.
All deformation modes are accessible under the same tool. This helps to keep the code organized and it should not make any difference to the user when a better brush management system is implemented.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5634
This commit is contained in:
2019-09-06 23:14:57 +02:00
parent 8127bbbe39
commit 70c1aaf59b
7 changed files with 349 additions and 11 deletions

View File

@@ -369,6 +369,13 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
row = col.row()
row.prop(brush, "normal_radius_factor", slider=True)
if brush.sculpt_tool == 'ELASTIC_DEFORM':
col.separator()
row = col.row()
row.prop(brush, "elastic_deform_type")
row = col.row()
row.prop(brush, "elastic_deform_compressibility", slider=True)
# topology_rake_factor
if (
capabilities.has_topology_rake and