Commit Graph

3 Commits

Author SHA1 Message Date
Peter Kim
72e81a45c4 Extern: Add modifications diff for TinyGLTF
This should have been added in ee49991999c9.
2021-10-13 20:56:27 +09:00
Peter Kim
ee49991999 Cleanup: Silence missing switch case warning 2021-09-22 12:00:21 -07:00
Peter Kim
3fa6426392 Extern: Add TinyGLTF to load XR controller model
The XR_MSFT_controller_model OpenXR extension provides a glTF
controller model that can be displayed to users during a VR session.
There are plans to support this in D10948, which will greatly improve
VR immersion when using a compatible OpenXR runtime.

TinyGLTF (https://github.com/syoyo/tinygltf) was agreed upon as a
simple and sufficient solution for loading this glTF controller model,
which will be performed at the GHOST abstraction layer. Although by
default it has two additional dependencies, stb and json, stb can be
excluded by defining TINYGLTF_NO_STB_IMAGE and
TINYGLTF_NO_STB_IMAGE_WRITE whereas json will be added as a separate
extern lib in D12567.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D12344
2021-09-21 22:59:10 -07:00