Forum Discussion
MrGoose
11 years agoHonored Guest
How to draw a HUD overlay from a external application
I did already make a JHMCS for DCS flight simulator with direct3d hook. Since the new version (DCS 1.5, Oculus runtime 0.7) it is running in direct mode. I can draw a overlay to the mirrored windows, but can't see the overlay in the rift. Is there a hook in the Oculus sdk or frame-server, or is it possible to use a interface like the performance HUD.
Is it possible to use the different layer out from different applications in the same time?
Here you can see what i developed in the past.
https://youtu.be/MEEaXmRm7Vg
Thanks for any hint...
3.jpg
Is it possible to use the different layer out from different applications in the same time?
Here you can see what i developed in the past.
https://youtu.be/MEEaXmRm7Vg
Thanks for any hint...
3.jpg
4 Replies
- MrGooseHonored GuestWhat i found out so far is: the direct3d hook was in the present call of direct3d. This worked fine for the extended mode, but in direct mode, the overlay what i draw is just visible in the mirrored backbuffer who is displayed in a window. Is der a chance to hook earlier when the eye layers are drawn? Or is there a other solution by using a layer of the oculus sdk.
Have some one any ideas? Thanks in advanced... - thewhiteambitAdventurerI am also interested in layering to an existing direct driver mode instance, but not only a hud. found no way till now.
- adamupHonored GuestAlso looking for a way to hook into the display while it's running in direct mode. Any pointers would be very helpful!
- MrGooseHonored GuestI am currently trying to hook ovr_SubmitFrame methode to manipulate the layers, but i am in the begining of this. In case of DCS -they use OpenVR_API- i try also to hook the "Submit" methode, but no success at this point.
Do anybody have experince in hooking unmanged dlls or libs? You are welcome to give some hints.
In the past i did hooking directx via Easyhook (C# .NET) as you can see the screenshot above, this worked fine.
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
- 2 years ago
- 5 years ago
- 3 years ago
- 2 years agoAnonymous