Forum Discussion

ivan_go's avatar
ivan_go
Explorer
2 years ago
Solved

OpenXR PC VR app with oculus link and XR_FB_scene extension

Hi,

I am developing an OpenXR PC VR app through oculus link and I am trying to get the global mesh using my Oculus Quest 3 headset.

I am following the code of XrSceneModel sample and I am able to get the global mesh.

I call 

xrGetSpaceTriangleMeshMETA

and I obtain indices and vertices of the global mesh.

The problem is when I try to obtain the pose of the global mesh referred the xr local space of my app.

The function 

xrLocateSpace

 returns invalid handle.

I am sure that the handle of my local space is valid so I think that the handle of the global mesh is not valid.

In fact if I try to call xrLocateSpace for the global mesh referred to the XrSpace of the mesh itself I get invalid handle.

Is it a bug or something not supported?

Thank you