Blender Git Commit Log

Git Commits -> Revision 3bce98e

Revision 3bce98e by Sybren A. Stüvel (temp-mathutils)
February 1, 2015, 10:58 (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(...)` 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: 3bce98ec806b8ccc5d9f12c5b1370edbc0961b53
Parent Commit: 8c7e1b6
Lines Changed: +100, -2

5 Modified Paths:

/doc/python_api/examples/mathutils.Quaternion.py (+9, -0) (Diff)
/source/blender/blenlib/BLI_math_rotation.h (+4, -0) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+27, -0) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+30, -1) (Diff)
/tests/python/bl_pyapi_mathutils.py (+30, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021