Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Recursophile's avatar
Recursophile
Honored Guest
11 years ago

OpenGL Eye Texture Flipped

I have been integrating the Rift (SDK 0.4.4) with H3D open source haptics and I am almost finished. H3D uses openGL for the graphics and I understand that openGL stores textures with the origin at the bottom left of the image which is contrary to the usual top left origin. I have everything working as expected except that the eye textures become flipped in the vertical direction.

Is there a simple solution for this within the oculus sdk that I could have missed? I would think that using ovrHmd_ConfigureRendering with the api set to openGL should account for this difference.