Blender Git Loki

Git Commits -> Revision a70f3ee

Revision a70f3ee by Lukas Toenne (strand_nodes)
August 9, 2016, 15:21 (GMT)
Counteract numerical errors in distance constraint evaluation (drift).

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.

Commit Details:

Full Hash: a70f3ee631b7f6f8f3e64febff3451b368a96ee1
Parent Commit: e37b91f
Lines Changed: +25, -23

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020