Is there a way to render to SteamVR in Panda3D?

I made a wrapper for OpenVR some time ago : VR with Panda3D: panda3d-openvr

It’s for Python and uses pyopenvr, but I think it could easily be translated in C++ if needed, pyopenvr is almost a 1-to-1 mapping to OpenVR and my code is rather straightforward. The only important part is to use the draw callback to retrieve the texture id for the left and right eye buffers and submit them to the composer at the right time. The rest of the code is mainly how to retrieve the data and apply transforms to be usable in Panda3D.

Edit: To clarify: OpenVR is the API, SteamVR is an implementation of OpenVR.

1 Like