diff options
Diffstat (limited to 'release/windows')
-rw-r--r-- | release/windows/batch/blender_oculus.cmd | 14 | ||||
-rw-r--r-- | release/windows/batch/oculus.json | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/release/windows/batch/blender_oculus.cmd b/release/windows/batch/blender_oculus.cmd new file mode 100644 index 00000000000..ffb725eb32f --- /dev/null +++ b/release/windows/batch/blender_oculus.cmd @@ -0,0 +1,14 @@ +@echo off + +REM Helper setting hints to get the OpenXR preview support enabled for Oculus. +REM Of course this is not meant as a permanent solution. Oculus will likely provide a better setup at some point. + +echo Starting Blender with Oculus OpenXR support. This assumes the Oculus runtime +echo is installed in the default location. If this is not the case, please adjust +echo the path inside oculus.json. +echo. +echo Note that OpenXR support in Oculus is considered a preview. Use with care! +echo. +pause +set XR_RUNTIME_JSON=%~dp0oculus.json +blender diff --git a/release/windows/batch/oculus.json b/release/windows/batch/oculus.json new file mode 100644 index 00000000000..ba8767f2c58 --- /dev/null +++ b/release/windows/batch/oculus.json @@ -0,0 +1,9 @@ +{ + "file_format_version": "1.0.0", + "runtime": + { + "api_version": "1.0", + "name": "Oculus OpenXR", + "library_path": "c:\\Program Files\\Oculus\\Support\\oculus-runtime\\LibOVRRT64_1.dll" + } +} |