Closed pierre-l closed 2 years ago
As @kanerogers stated on Discord, passthrough has to be mentioned in the android required features. https://developer.oculus.com/documentation/native/android/mobile-passthrough/#project-setup
Initialization succeeds now. I still see a black-ish background, but am unblocked. TY!
No worries! Hope we can get this going @pierre-l !
I just published two drafts:
Both have numerous rough edges that I still need to fix but at least this PoC is persisted now.
@kanerogers Playing with this raised some questions and I would like you input on these.
The first problem I have is that passthrough can be used in various ways:
Would you be OK with initially implementing just this first step?
Also, I expect many Hotham users not to need passthrough at all. What would be the best way to make this optional? Would it be fine to just add a passthrough_underlay
boolean to the Engine
and XrContext
constructors?
Background
Hello,
As we've discussed on Discord I've been trying to make passthrough work with Hotham, without success so far.
I suspected the headset needed to be configured in a specific way for passthrough to work, but ruled that out by running
App Lab HitMotion: Reloaded - MR Passthrough Demo
which can be downloaded from the app lab. Passthrough works as expected.So if I understand things properly, the call to
xrEnumerateInstanceExtensionProperties
shows thatXR_FB_passthrough
is not supported with Hotham. An outdatedlibopenxr_loader.so
was suspected, but the result appear to be the same with the v38.0 downloaded from the Oculus mobile SDk page. I tried to voluntarily misnamed the dynamic lib to ensure that's the one that's supposed to be loaded. It would be nice to have the version printed at runtime.My tests can be reproduced using this branch and running the
crab-saber
example:Version
latest
In which Hotham component are you seeing the problem on?
Core
What VR System are you seeing the problem on?
Quest-2
What OS are you seeing the problem on?
Linux
Relevant log output
Resources
Code of Conduct