Blender Git Loki

Git Commits -> Revision 6b43c82

June 23, 2019, 16:27 (GMT)
Set up OpenXR views and spaces for drawing

Using a dummy identity pose at {0, 0, 0} to start with. This should
later use the current viewport position & orientation I guess.

Also adds function to set a draw callback. There's quite some OpenXR
related stuff to be done before and after drawing anyting, as well as
before and after drawing each view (eye). Quite some info would have to
be exposed to WM to let it manage drawing. So I think using a callback
called from GHOST_Xr to draw each eye instead is a good way to go.

VR session currently crashes after opening. Seems to be related to
blocking frame wait call. I'm not too worried about that though, might
disappear once OpenXR frame sync functions get proper timing info
passed.

Commit Details:

Full Hash: 6b43c82cb516c941d1a98b10a1a8e51d448433ea
Parent Commit: afbb62f
Lines Changed: +64, -11

5 Modified Paths:

/intern/ghost/GHOST_C-api.h (+9, -0) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+5, -0) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+39, -8) (Diff)
/intern/ghost/intern/GHOST_XR_intern.h (+9, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+2, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021