OpenXR / Oculus hacks?

Anyone been following the news that openXR is now the preferred API for working with Oculus?
It’s still early days, but I’m wondering if anyone’s found some good starting points toward up-to-date Oculus support through python. Though it’d be just as good to hear that XXXX e.g:pyover? Works really well without a lot of fuss.

Alternately, anyone read last year’s showcase post and put together something that ‘just works’ ?

AFAIK there is still no usable OpenXR binding for Python (and I don’t intend to start working on one :stuck_out_tongue: )

On the other hand, OpenVR does support Oculus, though with some caveat. I don’t own one (and don’t plan to buy one), but I’ve got feedback that Oculus users could use p3dopenvr with their devices.

1 Like

confirmed.

  • install and log into oculus desktop app from oculus.com
  • connect quest by link cable or airLink
  • run and log into steam
  • install and run steamVR, verify that it is working
  • (optional: install desktop+ free app)
  • py -m pip install panda3d-openVR
  • download zip of panda3d-openVR, copy in samples\minimal\main.py and run py .\main.py
1 Like

I have a proof-of-concept implementation of Oculus support using the official SDK (PM me if you want the code); however supporting OpenXR seems like an interesting prospect. I have an Oculus Rift but unfortunately too little time to play with it.

Thank you. I may take you up on that, if (when?) I run into a gap that needs SDK for a workaround.
I think @eldee’s code is going to work for now.

Getting onto OpenXR is pretty speculative right now, but could become important surprisingly quickly (i.e: surprise hardware releases). When I was at Facebook, we used to grumble about Google APIs being deprecated with the replacements not-quite-working-yet.