Blender Git Commit Log

Git Commits -> Revision fb1822d

Revision fb1822d by Peter Kim (master)
August 5, 2021, 12:11 (GMT)
XR: Controller Data Improvements

Provides two key improvements to runtime controller data.

1. Separates controller poses into two components, "grip" and "aim",
which are both required to accurately represent the controllers
without manual offsets.

Following their OpenXR definitions, the grip pose represents the
user's hand when holding the controller, and the aim pose represents
the controller's aiming source.

2. Runtime controller data is now stored as a dynamic array instead
of a fixed array. This makes the API/functionality more adaptable to
different systems.

Does not bring about any changes for users since only internal
runtime functionality is currently affected.

Reviewed By: Julian Eisel

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

Commit Details:

Full Hash: fb1822ddeb28037544e94862112aa7338a0c278b
Parent Commit: f45860f
Lines Changed: +215, -113

5 Modified Paths:

/source/blender/windowmanager/WM_api.h (+12, -5) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+46, -26) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+15, -17) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+24, -23) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+118, -42) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021