Blender Git Loki
Git Commits -> Revision 4b18015
Revision 4b18015 by Julian Eisel (vr_scene_inspection) December 11, 2019, 14:10 (GMT) |
Add positional tracking option (3DoF vs. 6DoF) For passing around the HMD or preparing scenes for 3DoF interaction (e.g. cardboards) this option is quite handy. After feedback from @sebastian_k and @noemis, decision was that disabling the positional tracking should not reset the position to the starting one. It should just keep whatever is the current position. So we have to get the local pose (which is different from the per eye pose) out of OpenXR so we can have more dynamic base position that changes depending on the positional tracking option. Not that this isn't working 100% as wanted: There's a slight offset when disabling the positional tracking. I don't want to spend too much time on something minor-ish while there are more major features to get done. |
Commit Details:
Full Hash: 4b18015a1c6ba7c1a558f9d39a9937b98506adc2
Parent Commit: 06138de
Lines Changed: +167, -62
8 Modified Paths:
/intern/ghost/GHOST_Types.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+29, -9) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+7, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+116, -51) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+29, -9) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+7, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+116, -51) (Diff)