Problem with Direct HMD render OpenGL
I just got my rift the other day and wanted to get straight to playing around by converting some of my demos in C to work with it.
Instead of using the sdk source directly in my projects I found this: https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=12331
You still have to compile the sdk to get the .lib to use with it.
I also followed this example to figure out exactly what needed to go on (seems far easier to read than the tuscany demo code): https://developer.oculusvr.com/forums/viewtopic.php?f=30&t=11068
My source is on github at: https://github.com/Wolftousen/OculusRiftTest
To get it working to this point I actually had to modify the CAPI_GL_Util.cpp file in the SDK to remove EXT from the end of some of the opengl function lookups (they were returning null for some reason with the EXT).
Everything compiles and runs without errors, I get the window on my desktop, but the issue is nothing ever displays on the Rift and i'm not sure why.
The tuscany and tiny room demo work fine as expected, but they are using directx, which i'm not all that familiar with. Would be nice to have opengl examples included in the SDK, but i digress.
The code on github is setup for x64, not win32 and it's using FreeGLUT.
I appreciate any help anyone can provide.
Instead of using the sdk source directly in my projects I found this: https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=12331
You still have to compile the sdk to get the .lib to use with it.
I also followed this example to figure out exactly what needed to go on (seems far easier to read than the tuscany demo code): https://developer.oculusvr.com/forums/viewtopic.php?f=30&t=11068
My source is on github at: https://github.com/Wolftousen/OculusRiftTest
To get it working to this point I actually had to modify the CAPI_GL_Util.cpp file in the SDK to remove EXT from the end of some of the opengl function lookups (they were returning null for some reason with the EXT).
Everything compiles and runs without errors, I get the window on my desktop, but the issue is nothing ever displays on the Rift and i'm not sure why.
The tuscany and tiny room demo work fine as expected, but they are using directx, which i'm not all that familiar with. Would be nice to have opengl examples included in the SDK, but i digress.
The code on github is setup for x64, not win32 and it's using FreeGLUT.
I appreciate any help anyone can provide.
