Passthrough for Native C++ SDK
Hello, Is there a passthrough API for the Oculus Platform SDK? From what I've seen, Meta doesn't seem to provide the passthrough data for privacy reasons. I'd like to do something similar as Unity where we create a composited image. Specifically compositing our application content on top of the passthrough but without using Unity/Unreal. I only want to use the native C++ SDK. If this isn't possible, is there a way we can use alpha blending with the passthrough image? Or is there a hardware setting we can modify that changes the opacity of the passthrough/running application?1KViews0likes0Commentsuse passthrough to recognize AR Marker or use object detection that can be seen in passthrough
I'm making a game that moves with my body using Passthrough. It is difficult to use IMU sensors for all objects. So I want to attach an AR Marker to an object so that the virtual object follows the movable object. Is it possible? Or is Object Detection available on the SDK?6.7KViews4likes4CommentsUnable to build the mobile SDK examples. With Android Studio Dolphin | 2021.3.1 Patch
Hi. Following these instructions. https://developer.oculus.com/documentation/native/android/mobile-studio-basics/ First I hit. Task 'prepareKotlinBuildScriptModel' not found in project ':VrSamples:VrCubeWorld_Framework:Projects:Android'. So adding task prepareKotlinBuildScriptModel { } I then hit. Exception during working with external system: java.lang.AssertionError Any help would be appreciated. I can successfully build and emulate standard android apps and NDK apps using Vulkan.3.1KViews0likes3CommentsHow to change Package Name for Native Mobile OpenXR Samples?
I tried changing my package name according to these instructions. Specifically, I tried to change the name on the XrCompositor_NativeActivity project. I followed several online instructions for package name renaming, but I still get this error when trying to upload my APK for App Lab: "The APK package name, com.oculus.sdk.xrcompositor is only allowed for first-party application." Can someone please tell me how to fix this error? I get this error on Meta Quest Developer Hub when uploading my release APK.1.1KViews0likes1CommentHas Meta abandoned MRC Native support?
https://developer.oculus.com/documentation/native/android/android-native-mrc/ The instructions in the link above are very vague and outdated. For example, the instructions say to use ovrm_Initialize(), but that function does not exist in the header file we are asked to use: OVR_Mrc_Shim.h. Can someone please help me with MRC for Native Development? How do I implement this in hello_xr or XrCompositor_NativeActivity.c?662Views1like0CommentsConvert a .c Mobile OpenXR Sample to cpp c++ in Android Studio?
For example, Mobile OpenXR Samples has a XrCompositor_NativeActivity.c How can I convert XrCompositor_NativeActivity.c to c++ and run the app successfully? I tried renaming the extension to .cpp, making changes to Android.mk, etc... but I keep running into errors.1.1KViews0likes0CommentsLeft menu button click causes Hello_XR app to crash.
Using the latest Android Studio and running latest OpenXR's hello_xr, clicking on left controller menu button causes the game to crash. Can someone please tell me how to fix this issue? I've been reading up on the OpenXR Input API, but I find it very complicated and unable to help me fix this issue.943Views0likes0CommentsHow to include OVR_Mrc_Shim.h in hello_xr for Native Android Mixed Reality Capture?
Native Android Mixed Reality Capture In the instructions above, it states: To add OVRMrcLib to your native Android project: 1. Include Shim/OVR_Mrc_Shim.h and Shim/OVR_Mrc_Shim.cpp in your project Which file in the hello_xr example do I #include Shim/OVR_Mrc_Shim.h? I'm guessing maybe openxr_program.h, but I want to get things right in the first step, since I'm having great difficulties in the next steps.680Views0likes0CommentsTesting without wearing headset? NATIVE
Hi, I have a quest 2 headset and I'm working with NATIVE samples, for example VrCubeWorld_SurfaceView I dont want to use Unity or Unreal, just plain native platform, So, every time I make a change and want to test it I have to put on the headset and see the screen, etc Is it possible to run the app in some android stuvio AVD device simulator, at least for test the graphical stuff (opengl) Thanks!Solved7KViews0likes2Comments