Blender Git Loki

Git Commits -> Revision 9fa628f

Revision 9fa628f by Sybren A. Stüvel (master)
February 1, 2015, 12:06 (GMT)
mathutils: added exponential map to Quaternion

Added conversion to and from exponential map representation. This
representation is useful for interpolation of > 2 quaternions, or in
PD controllers.

Implementation in C functions quat_to_expmap,
quat_normalized_to_expmap, and expmap_to_quat with Python API, unit
tests and documentation.

Added Quaternion.to_exponential_map() and Quaternion(3-vector) to
Python API.

Reviewers: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1049

Commit Details:

Full Hash: 9fa628f35be31a18edfdb1e1fca8a6bd3b6b453c
Parent Commit: 8c7e1b6
Lines Changed: +117, -2

5 Modified Paths:

/doc/python_api/examples/mathutils.Quaternion.py (+9, -0) (Diff)
/source/blender/blenlib/BLI_math_rotation.h (+5, -0) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+34, -0) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+39, -1) (Diff)
/tests/python/bl_pyapi_mathutils.py (+30, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021