diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-08-09 18:21:31 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-08-09 18:21:31 +0300 |
commit | a70f3ee631b7f6f8f3e64febff3451b368a96ee1 (patch) | |
tree | 7de25283144704dc574ed2acc32b53689dc42d2b /source/blender/editors/space_view3d | |
parent | e37b91f41376f69cac32f378304a3544772dee9a (diff) |
Counteract numerical errors in distance constraint evaluation (drift).strand_nodes
With large steps in hair editing strokes the solution to distance-constrained
hair displacement becomes inaccurate, leading to a gradual lengthening of strands.
To counteract this the length constraints can enforce a velocity relative to the
constant target length of each segment. This results in an overall constant
length, even when the constraint solution is inaccurate for nonlinear constraints.
Note that the result would become much better with backward Euler integration,
currently there is a noticable 1-step lag between strokes and the distance fix.
Diffstat (limited to 'source/blender/editors/space_view3d')
0 files changed, 0 insertions, 0 deletions