Skip to main content
New Participant
January 26, 2018

Programmatically pin and position app in new Oculus Dash.

Hello,

I have an application written in Unity called DashPanel that displays extra information for racing sims.

http://store.steampowered.com/app/715670/DashPanel/

I am currently trying to make it VR compatible, by its nature it needs to be run as an overlay on top of the actual simulation itself. I have achieved this in OpenVR by rendering the app to a texture and creating an overlay via the OpenVR API.


OpenVR example on top of Assetto Corsa.



So in the new Oculus Dash I was able to manually position the desktop roughly where it was needed then open and run DashPanel. I cannot “grab” the app itself it shows a window with an exclamation icon. Any ideas why? However moving the desktop then opening DashPanel fullscreen achieved close to the effect required.

So is there anything in the API to allow me to programmatically pin and position the app? It is very hard to be accurate with the manual method.

Also is it possible for transparency to be correctly applied as can be seen in the OpenVR image above?

Appreciate any advice.

2 replies

mousebear
Honored Contributor
January 29, 2018
Hello, and welcome to the Oculus Developer Forums!

Could you tell me which version of Unity you're using? 

Some preliminary research on my end shows that these links cover aspects of Dash API integration, please take a look to see if any of these discussions may help you:


If none of these links help you, let me know and I'll dive even deeper. If any of these links do help you, let me know what worked for you so I can take note of the solution.

Additionally, you may want to try out the 'Input Focus' sample within the Unity Sample Framework to see if you can extract a solution to your problem from the sample.
If you need immediate help or want additional support/context on an issue you are having with our platform or integrations: 1. Gather any and all logs , screenshots, and version numbers of relevant software (Oculus SDK, engine, etc.) 2. Please submit a ticket here through the "Contact Us" link (include what you've gathered in step 1). 3. Tag me @mouse_bear once you have done so!
mousebear
Honored Contributor
January 29, 2018
@BernoAU

Would you be able to provide me some logs to see if we can locate where your issue might be coming from? Please refer to the following link and then PM your logs over to me: https://developer.oculus.com/distribute/latest/concepts/log-troubleshooting/
If you need immediate help or want additional support/context on an issue you are having with our platform or integrations: 1. Gather any and all logs , screenshots, and version numbers of relevant software (Oculus SDK, engine, etc.) 2. Please submit a ticket here through the "Contact Us" link (include what you've gathered in step 1). 3. Tag me @mouse_bear once you have done so!