OpenGL - Non oculus owned eye textures
Pre v0.6 it seemed fairly trivial to send OpenGL textures to the rift that weren't created using SDK function calls. You simply had to set the OGL.TexId in the ovrGLTexture structure before calling ovrHmd_EndFrame. I had some difficulty getting them to display perfectly, but in v0.6 I'm having difficulty getting them to work at all.
I've tried creating my own ovrSwapTextureSet, but I get an access violation when calling ovrHmd_SubmitFrame. I'm worried that there's some magic happening behind ovrHmd_CreateSwapTextureSetGL that I can't duplicate.
Has anyone tried this? The renderer I'm using needs to create its own eye textures, and I can verify (using glGetTexImage) that the textures are valid, I just need to submit them to the rift somehow.
I've tried creating my own ovrSwapTextureSet, but I get an access violation when calling ovrHmd_SubmitFrame. I'm worried that there's some magic happening behind ovrHmd_CreateSwapTextureSetGL that I can't duplicate.
Has anyone tried this? The renderer I'm using needs to create its own eye textures, and I can verify (using glGetTexImage) that the textures are valid, I just need to submit them to the rift somehow.
