Virtual Reality support (Stereoscopic rendering)

Post suggestions regarding RVGL here in this subforum.
Xcalibur
Posts: 3

Virtual Reality support (Stereoscopic rendering)

Unread post by Xcalibur » Mon Jul 24, 2023 3:54 pm

I have a Meta Quest 2 VR headset. It can run as either a standalone headset with an internal, Android-based operating system, or as a headset connected over USB or Wi-Fi to desktop computer. It also have 2 controllers with accelerometers and gyroscopes.

Could you please implement VR support?

Since RVGL exists for both PC and Android, this could mean integration of OpenXR (https://www.khronos.org/openxr/, https://github.com/KhronosGroup/OpenXR-SDK-Source):

* OpenVR SDK (https://github.com/ValveSoftware/openvr) for PC
* OpenXR Mobile SDK (https://developer.oculus.com/downloads/ ... obile-sdk/) for Meta Quest devices (currently the most popular VR headsets)

Since almost any standalone VR headset can also be connected to a computer, it would make more sense to start with PC VR support. First, implement the stereoscopic rendering, then tracking the pose of the user's head to match the orientation of the virtual camera with the user's eye positions in the real world, and only then controllers support.
Post Reply