Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ecilasun's avatar
ecilasun
Honored Guest
12 years ago

Non-SDK rendering and direct-to-rift

Hi,

I have just integrated OVR support to my test engine. I do not use the SDK-rendering, and I can see the distorted rendering on my output window. When the application starts, the tracking works (I do not use the result yet but I see the camera turns on and moving the headset does the motion compensation in distortion rendering)

However, my HMD does not show any output on its display (this is in Direct-to-Rift mode). I assume outputting the distorted image to the device render target and calling Present() should simply make it work?

It must be due to something obvious but I am unable to pinpoint the issue. Does anyone have any hints that might help?

Thanks.

PS: I've forgotten to mention this is with DK2.

3 Replies

  • FIXED:
    Apparently I missed something tiny as I predicted. One should call ovr_Initialize() before the D3D11 device creation. Everything works fine now.