Skip to main content
Up and Coming
January 8, 2016

Converting PC Opengl project to use 0.8

Hi,

I'm trying to convert my project to use the latest SDK, I've had it working with an older version(0.5). I have attached what I am getting on screen if I just try to show a clear white background, does anyone know what could be causing this?

I've tried to extract the right code from the 'OcculusRoomTiny ' example project, but the inter-dependencies make it difficult to work with. Has anyone got a more minimal opengl example for 0.7 or 0.8?

The OcculusRoomTiny project works fine so there is nothing wrong with the hardware/configuration.

Thanks for any help.

    5 replies

    Mars3DAuthor
    Up and Coming
    January 8, 2016
    Ok, I've solved the problem.

    I wasn't setting the layer viewport positions to zero, They were defaulting to a random number.
    New Participant
    January 18, 2016
    Hi I'm also looking for a 0.7 minimal example. I'm new at oculus programming and I'm trying to do the same program you do. Is possible to have a look on your code? Here or in pm, or i can give you my email
    Inspiring
    January 18, 2016
    "Pippopluto" wrote:
    Hi I'm also looking for a 0.7 minimal example.


    Here is a self-contained example using the 0.7 SDK.

    https://github.com/jherico/OculusRiftIn ... tained.cpp
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Up and Coming
    January 22, 2016
    Hi,
    Here is a very-simple example using the Oculus like a simple 3D screen (no tracking). But it uses the 0.8 SDK. It also uses a 3D camera (ZED) however it's easy to remove this part.
    https://github.com/stereolabs/zed-oculus

    I used it for my own project but I don't know if their example is a good implementation of the Rift SDK.
    Up and Coming
    February 4, 2016
    See this thread for simple 0.8 SDK application's source: https://forums.oculus.com/viewtopic.php?f=20&t=29613