Blender Git Commit Log

Git Commits -> Revision 084a33c

July 8, 2019, 12:13 (GMT)
Use base pose from Blender camera

I was trying to set the camera pose as OpenXR reference pose. But then I
got really strange poses for drawing back from OpenXR. Couldn't figure
out a way to solve this.
Now we just apply OpenXR's draw pose to the Blender camera pose. If we
later want to support moving around in the scene (e.g. via teleporting),
that has to be changed.

Also uses flipped drawing for DirectX surface to correct DirectX upside
down drawing (compared to OpenGL).

Commit Details:

Full Hash: 084a33ca94c09f6c5e6650ee4f3c176b324e6607
Parent Commit: 37f619a
Lines Changed: +112, -40

12 Modified Paths:

/intern/ghost/GHOST_C-api.h (+7, -1) (Diff)
/intern/ghost/GHOST_IContext.h (+2, -0) (Diff)
/intern/ghost/GHOST_Types.h (+8, -4) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_Context.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+26, -13) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+3, -6) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+53, -10) (Diff)
/source/blender/windowmanager/wm.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021