Skip to main content
New Participant
December 18, 2014

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.

    1 reply

    Up and Coming
    December 18, 2014
    You could find an example here: http://federico-mammano.github.io/Oculus-SDK-0.4.4-beta-OpenGL-Demo
    I hope you find it useful.