Blender Git Loki
Git Commits -> Revision 707bc26
Revision 707bc26 by Peter Kim (xr-controller-support) July 22, 2021, 06:31 (GMT) |
XR: Add basic controller model drawing Uses the OpenXR XR_MSFT_controller_model extension to load a glTF model provided by the XR runtime. The model's vertex data is then used to create a GPUBatch in the XR session state. Finally, this batch is drawn via an XR surface draw callback. Currently does not use the model's texture data, but this can be supported in the future. |
Commit Details:
Full Hash: 707bc260d892f4e738db16efa9b8de6bafcdc51b
Parent Commit: 5b45070
Lines Changed: +38368, -80
9 Added Paths:
/extern/tinygltf/json.hpp (+20406, -0) (View)
/extern/tinygltf/LICENSE (+21, -0)
/extern/tinygltf/README.blender (+5, -0) (View)
/extern/tinygltf/README.md (+229, -0) (View)
/extern/tinygltf/stb_image.h (+7530, -0) (View)
/extern/tinygltf/stb_image_write.h (+1621, -0) (View)
/extern/tinygltf/tiny_gltf.h (+7718, -0) (View)
/intern/ghost/intern/GHOST_XrControllerModel.cpp (+442, -0) (View)
/intern/ghost/intern/GHOST_XrControllerModel.h (+52, -0) (View)
/extern/tinygltf/LICENSE (+21, -0)
/extern/tinygltf/README.blender (+5, -0) (View)
/extern/tinygltf/README.md (+229, -0) (View)
/extern/tinygltf/stb_image.h (+7530, -0) (View)
/extern/tinygltf/stb_image_write.h (+1621, -0) (View)
/extern/tinygltf/tiny_gltf.h (+7718, -0) (View)
/intern/ghost/intern/GHOST_XrControllerModel.cpp (+442, -0) (View)
/intern/ghost/intern/GHOST_XrControllerModel.h (+52, -0) (View)
15 Modified Paths:
/intern/ghost/CMakeLists.txt (+6, -0) (Diff)
/intern/ghost/GHOST_C-api.h (+18, -0) (Diff)
/intern/ghost/GHOST_Types.h (+22, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+26, -0) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+0, -1) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+3, -2) (Diff)
/intern/ghost/intern/GHOST_XrContext.cpp (+17, -0) (Diff)
/intern/ghost/intern/GHOST_XrContext.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+57, -0) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+7, -4) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+12, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+111, -68) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+5, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+55, -1) (Diff)
/intern/ghost/GHOST_C-api.h (+18, -0) (Diff)
/intern/ghost/GHOST_Types.h (+22, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+26, -0) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+0, -1) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+3, -2) (Diff)
/intern/ghost/intern/GHOST_XrContext.cpp (+17, -0) (Diff)
/intern/ghost/intern/GHOST_XrContext.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+57, -0) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+7, -4) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+12, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+111, -68) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+5, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+55, -1) (Diff)