Forum Discussion
ScottieBizzle
11 years agoExplorer
Swapchain presenting to window, yet no blue light
My display mode is set to "Direct HMD Access from Apps" and the OculusRoomTiny sample works fine. It initializes, then on the 3rd or so call to ProcessAndRender ( specifically the RParams.pSwapChain->...
ScottieBizzle
11 years agoExplorer
I was hoping you would be right about the order in which things are called so I reworked my code to match the sample which has this order...
ovr_Initialize();
HMD = ovrHmd_Create(0);
CreateWindow
CreateDXGIFactory
D3D11CreateDevice ( with or without specifying Adapter seems to work )
Create the swap chain and target view
ovrHmd_AttachToWindow
create the oversized target ( should not matter )
ovrHmd_ConfigureRendering
ovrHmd_SetEnabledCaps
ovrHmd_ConfigureTracking
then let er rip...
Still does not work for me. I've tried D3D_FEATURE_LEVEL_11_0 and D3D_FEATURE_LEVEL_11_1 when creating the device even downgraded my IDXGIFactory from IDXGIFactory2 and use the older CreateSwapChain over CreateSwapChainForHwnd. Still nothing.
Anything else I may be missing?
ovr_Initialize();
HMD = ovrHmd_Create(0);
CreateWindow
CreateDXGIFactory
D3D11CreateDevice ( with or without specifying Adapter seems to work )
Create the swap chain and target view
ovrHmd_AttachToWindow
create the oversized target ( should not matter )
ovrHmd_ConfigureRendering
ovrHmd_SetEnabledCaps
ovrHmd_ConfigureTracking
then let er rip...
Still does not work for me. I've tried D3D_FEATURE_LEVEL_11_0 and D3D_FEATURE_LEVEL_11_1 when creating the device even downgraded my IDXGIFactory from IDXGIFactory2 and use the older CreateSwapChain over CreateSwapChainForHwnd. Still nothing.
Anything else I may be missing?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device