Oculus Rift Integration

Posted By: yorisimo

Oculus Rift Integration - 12/19/13 17:13

You can download my contribution at Acknex Unlimited. It demonstrates how to integrate Oculus Rift (VR Headset into your game, OculusVR ):
oculus.zip

Hope it's useful for someone. Because it queries data from the Oculus Rift to setup the distortion parameters, I don't think you will be able to see what it does without having an Oculus Rift connected.
Posted By: PadMalcom

Re: Oculus Rift Integration - 12/19/13 21:23

Nice, thank your for that one!
Posted By: Vonman

Re: Oculus Rift Integration - 03/01/14 00:22

The main.exe for the demo worked BUT I cannot use the scripts because for some reason none of them ever call on oculus.dll.

I tryed putting the dll in my plugins folder and even in my project folder but with no luck.

Is there some script file that may be missing?
Posted By: yorisimo

Re: Oculus Rift Integration - 03/03/14 14:53

initRift (used to obtain device properties) and readRift (used for head tracking) are the only dll functions. They are called by Oculus.c:
* initOR calls initRift
* getHeadTrackOR calls readRift

Oculus.c should be in the same folder as main.c (or your version of main.c), and Oculus.dll should be in the acknex plug-ins folder.
© 2024 lite-C Forums