Blender Git Loki
Git Commits -> Revision 9915dbc
August 10, 2021, 01:35 (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: 9915dbc627641af77d5ccb86297e7b4ae1d66d80
Parent Commit: 52fdf8b
Committed By: YimingWu
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)
/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)