Forum Discussion
tmason101
11 years agoHonored Guest
Complete "Extended" Mode Modern OpenGL Example (SDK 0.4.3)
Hello, Thanks to all of the help from the various posters (jherico and nuclear especially) here is a complete "Extended" mode example of using the latest version of the SDK (0.4.3) with Modern Open...
Anonymous
11 years agoI'm using SDL2 instead of GLFW, and direct-HMD works fine since SDK 0.4.2 (not tested before). Win 7 64, 64 bits builds, Geforce 9800 GTX (340.52 driver).
Have you tried different initialization orders ? I follow this one :
- ovr_Initialize
- ovrHmd_Create
- ovrHmd_SetEnabledCaps
- ovrHmd_ConfigureTracking
- SDL Init, window creation, GL context creation, GLEW Init
- ovrHmd_AttachToWindow
- Eye textures/FBOs creation
- ovrHmd_ConfigureRendering
Everything else come later. Also, I think you also noticed it but apparently you should not have any GL error pending when calling ovrHmd_EndFrame.
Have you tried different initialization orders ? I follow this one :
- ovr_Initialize
- ovrHmd_Create
- ovrHmd_SetEnabledCaps
- ovrHmd_ConfigureTracking
- SDL Init, window creation, GL context creation, GLEW Init
- ovrHmd_AttachToWindow
- Eye textures/FBOs creation
- ovrHmd_ConfigureRendering
Everything else come later. Also, I think you also noticed it but apparently you should not have any GL error pending when calling ovrHmd_EndFrame.
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 months ago
- 4 years ago