Page MenuHome

Sculpt: Smooth deform type for Boundary Brush
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Oct 14 2020, 1:46 AM.
Tags
None
Subscribers
None
Tokens
"Like" token, awarded by IPv6."Love" token, awarded by lopoIsaac."Love" token, awarded by Brandon777."Love" token, awarded by franMarz.

Details

Summary

This adds a smooth deformation type to the boundary brush, which smooths
the boundary and has a regular falloff towards the inside of the mesh.
For smoothing, only vertices parallel to the boundary are taken into
account, creating this effect.

Diff Detail

Repository
rB Blender
Branch
sculpt-boundary-smooth (branched from master)
Build Status
Buildable 10716
Build 10716: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Oct 14 2020, 1:46 AM
Sergey Sharybin (sergey) requested changes to this revision.Oct 14 2020, 10:44 AM
Sergey Sharybin (sergey) added inline comments.
source/blender/editors/sculpt_paint/sculpt_boundary.c
877

pass becomes area?
symm -> symmetry.

878

Think this can be const.

891

Use early continue.

896

average and accumulator are kind of mutually exclusive.
You accumulate neighbour coordinates, and then average them. Variable names should represent what the value is inside. Even coord_accum is the better choice here.

924–926

Tag vertices for update even if they are not modified? Seems weird.

This revision now requires changes to proceed.Oct 14 2020, 10:44 AM
Pablo Dobarro (pablodp606) marked 5 inline comments as done.
  • review update
This revision is now accepted and ready to land.Oct 19 2020, 10:06 AM