Blender Git Loki

Git Commits -> Revision 654967b

December 7, 2021, 14:07 (GMT)
Fix T89564: Spline IK breaks when it is far away from the world origin

The isect_line_sphere algorithm became very imprecise when the line and
the sphere were reasonably far away from the world origin.

This would lead to no intersections being reported even if there was a
guaranteed intersection (line crossing from inside the sphere to the
outside).

To fix this we now use the secant root finding method to get an
intersection point. This is much more stable and robust it seems.

Commit Details:

Full Hash: 654967b0e0ce27ff12cff815dde98b2e566abe89
Parent Commit: 448c838
Committed By: Philipp Oeser
Lines Changed: +61, -29

1 Modified Path:

/source/blender/blenkernel/intern/armature_update.c (+61, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021