Blender Git Commit Log

Git Commits -> Revision 14f0561

Revision 14f0561 by Joshua Leung (master)
June 27, 2016, 14:52 (GMT)
Bendy Bones Instability Fix - Second Attempt

So the error seems to be in cubic_tangent_factor_circle_v3(),
which was introduced with D2001.

I've tweaked the most obvious culprit here - the epsilon factor.
It used to be 10^-7, but I've reduced it down to 10^-5 now,
and it's looking a lot more stable now :)

---------

BTW, about the derivation of the magic 0.390464 factor I briefly subbed back
as a workaround for this bug, see:
http://www.whizkidtech.redprince.net/bezier/circle/

Commit Details:

Full Hash: 14f056144e3e1a94188034eae71bd56c3a1feec9
Parent Commit: 9466d15
Lines Changed: +4, -6

2 Modified Paths:

/source/blender/blenkernel/intern/armature.c (+1, -5) (Diff)
/source/blender/blenlib/intern/math_geom.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021