r/oculusdev • • Oct 17 '14

QUESTION: Software HMD emulator

Hi guys!

I have zero experience with the Oculus but I have just been assigned to a group project were we are meant to develop a 3d environment using the Oculus HMD. (I m an ECE undergrad for context).

Effectively its a group of 4x with a single shared HMD kit.

Question : We are looking for some sort of HMD emulator so that we could trial test our code separately without depending on only using it while at the uni lab.

Any thoughts??

Cheers

7 Upvotes

2 comments sorted by

View all comments

1

u/Devlin1991 Oct 18 '14

You can create a debug HMD in the sdk, I believe it just returns 0,0,0 position and an identity quaternion though I've not used it myself. Read the sdk documentation in detail to get a better understanding of what it does.

 ovrHmd hmd = ovrHmd_Create(0);

 if (hmd == NULL)
 {
         hmd = ovrHmd_CreateDebug(ovrHmd_DK1);

         debug = true;
 }

1

u/cluelessNoIdea Oct 19 '14

I see, ok, we assumed that if there was such a feature it would be as a separate standalone application. Definitely next step is to go deeper in the documentation folder. Thanks a lot for pointing us in the right direction.