Skip to main content
New Participant
March 5, 2015

Working without Rift. Debug Device.

I am trying to make my program work without Rift plugged in.

vrHmd = ovrHmd_CreateDebug(ovrHmd_DK2);


However, when I start the program all screen goes black and in a moment
Access violation exception
appears. Plus my video card says that it crashed but recovered. Is there anything in the code I should fix (probably related to window sizes) to make this work? Or is there any good examples using debug device?
Regards :)

    2 replies

    joan
    Up and Coming
    March 5, 2015
    Yes, both the Oculus tiny room and Oculus World code samples in the SDK implement the fallback mechanism if there is no HMD plugged.
    InventorAuthor
    New Participant
    March 5, 2015
    TinyRoom has no such feature. it just closes when device is not detected. But WorldDemo has one. Thanks a lot. ill take a look at it