I'm trying to integrate an existing Simulator application that uses OpenGL for our graphics engine with the Oculus Rift using SDK 1.12 ... I'm a newbie to both OpenGL and the SDK and have been trying to use what I have learned and researched in the past 3 weeks to make this work. Currently I'm just trying to get the Left eye image working as you will see. When the application is ran I do get an image in the left eye but it is flickering and then after about 5 seconds the application freezes up and I get a Low Computer resources warning. Any help would be much appreciated as my expert in OpenGL left the company 3 weeks ago and need to get this working by Thursday for a conference next week. Attached is the code I cobbled together ... there are probably multiple issues with it so don't hold back ... I will not be offended just very grateful! Lol.
Ok made some progress ... now I just have a jittery or studdering image that is being displayed the crash is gone. Anyone have an idea? It almost looks like there is a main image and another flickering on top of it? Also, my main window on the computer ends up being frozen while wearing the headset though and in the end we don't want that. Thanks In Advance.
Thank you. I did solve the jittery issue and have the Left eye being rendered and displayed in the Rift. I will post that code in a minute. Now I'm trying to understand how to do the Right Eye as it looks like I need to do a Render in between the two eyes?
The latest ... I can get the left eye or right eye to work independently but no together yet. Thus I can see the scene in the left or right eye depending on the Viewport settings but not sure of the process to handle both at the same time.