Blender Git Commit Log

Git Commits -> Revision 5fd158b

Revision 5fd158b by Peter Kim (xr-controller-support)
August 26, 2021, 10:23 (GMT)
XR: Refactor motion capture objects

This refactors the feature of binding objects to controllers
and recording auto-keyframes, or "motion capture objects", by
providing a more complete API for managing objects and moving the
implementation out of wm_xr_session.c and into its own file
(wm_xr_mocap.c).

In addition, motion capture objects are now stored as a dynamic array
instead of a fixed array, which was previously hard-coded for
specific devices. Each entry in this dynamic array is uniquely
identified by an Object pointer and is mapped to a VR device via an
OpenXR user path. For example, an object can be bound to the headset
via "/user/head", and the left controller via "/user/hand/left".

Commit Details:

Full Hash: 5fd158bb870ade1127295789b358e025c71cbb56
Parent Commit: 21a24aa
Lines Changed: +634, -575

1 Added Path:

/source/blender/windowmanager/xr/intern/wm_xr_mocap.c (+267, -0) (View)

15 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+5, -8) (Diff)
/source/blender/editors/include/ED_transform.h (+15, -0) (Diff)
/source/blender/editors/transform/transform_convert.c (+1, -3) (Diff)
/source/blender/editors/transform/transform_convert.h (+0, -6) (Diff)
/source/blender/editors/transform/transform_convert_armature.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_object.c (+8, -7) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+29, -16) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+174, -259) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+14, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+3, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+10, -8) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+33, -11) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_operators.c (+32, -53) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+41, -199) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021