diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-06-20 02:16:30 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-06-20 02:16:30 +0400 |
commit | 7349d775b0c80a112cc90888db80f481a36c4b92 (patch) | |
tree | 65024858ad8aa70d5e2975ad58fe633513e38d34 /source/blender/blenkernel/intern/depsgraph.c | |
parent | c3b8db4833fe561ce8803af1619a4f1eb5f0c3b6 (diff) |
2.5/Sculpt:
Made some improvements to how brush strength works.
* For the draw and inflate brushes, the brush's 3D radius is used to set the "goal" distance, towards which vertices move. A strength setting of 1.0 will move verts there immediately (with the usual exceptions of tablet pressure, texture/curve input, etc.)
* Also changed strength calculation to use the square of the strength slider, so that you don't have to be as finicky setting a low brush strength.
* For smooth brush, added an extra loop through the verts. So, a bit slower, but now verts take into account more than the immediate vertex ring.
TODO:
Still some magic numbers:
* Pinch limits the effect to moving vertices half of the way towards brush center. I see no use for a 100% pinch (it pretty much destroys the mesh.) Even half may be too high a limit, but this is hard to place an exact number on.
* Smooth has two magic numbers, the strength fudge factor and the number of smooth repetitions (currently 2.)
* The way the layer brush works is left unchanged for now.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
0 files changed, 0 insertions, 0 deletions