Forum Discussion
galapaegos
9 years agoHonored Guest
Is it possible to still show the warped image on the desktop?
Hi! I'm integrating a tracking system (Optix) and plan to use a 'laptop in a backpack' setup to allow tracking throughout a large space (20' by 22'). I currently have the tracking software work...
- 9 years agoTo get the mirror image you would have to write a native plugin and call ovr_CreateMirrorTextureDX(..) and ovr_DestroyMirrorTexture(..) from the render thread at initialization/shutdown using Unity's low-level interface. The ovrSession argument can be passed to the plugin via VR.VRDevice.GetNativePtr(). This is clearly non-trivial and you will need to do some D3D11 texture management in C++ to get it to work. See https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-render/ for guidance.
vrdaveb
9 years agoOculus Staff
Sorry, looks like we set up a dummy mirror texture (not one that could be used) for some reference counting workarounds behind the scenes. Unfortunately, that means it isn't currently possible to set up your own. I'll see how soon we can remove this behavior to make your native plugin work properly.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 10 months ago
- 2 years ago
- 1 year ago