Page 1 of 1

Irrlicht + Oculus Rift Demo

Posted: Thu Jul 04, 2013 8:48 pm
by Brainsaw
This is just a little demo for the Oculus Rift virtual reality headset. It includes source and executable. To rebuild it you need the Oculus SDK.

Big thanks to Suvi for helping me with getting the Rotation from the rift applied correctly (a thread and and to Marbas for the distortion code (another thread .. sorry for the heavily modified code, but I just convert *everything* to my preferred coding-style). The demo uses assets from the original Irrlicht distribution.

The movement in the demo is controlled with WASD, and you can rotate the camera using the mouse. Movement is always done in the direction you are looking.

Image

You can download the demo from my homepage

Re: Irrlicht + Oculus Rift Demo

Posted: Fri Jul 05, 2013 5:10 am
by Suvi
Seems to work really nicely :) I think the zip is missing few source files though.

Did you end up having to do anything with the eye positions? For me the code posted by Marbas worked in some angles but in some the scenery looked kinda flat so I had to add the eyes as additional nodes to the last head-node to get correct positions. It may have been my weird IPD though.

Oh, did you notice they added the calibration tool to the latest Oculus SDK. You could load the saved IPD setting from the default profile which should lessen the eye strain.

Re: Irrlicht + Oculus Rift Demo

Posted: Fri Jul 05, 2013 7:22 am
by Brainsaw
It's just sort of a "first shot". I gotta look into some issues (and I'll make sure all source files are in). I didn't yet look at the latest SDK, but currently time is rare.

Re: Irrlicht + Oculus Rift Demo

Posted: Fri Jul 19, 2013 2:20 pm
by Brainsaw
I uploaded a new version. This time it's using my favorite compiler (MinGW) the hacky way: I created a DLL with VC that exports some functions necessary to access the data from the Rift. Can be downloaded on my homepage (http://bulletbyte.de/products.php?sub=irr&show=rift)

Re: Irrlicht + Oculus Rift Demo

Posted: Fri Jul 19, 2013 7:10 pm
by Suvi
Nice! Works much better now. I can feel the depth in this version :)

Re: Irrlicht + Oculus Rift Demo

Posted: Fri Jul 19, 2013 9:26 pm
by Brainsaw
Lol ... seems that I had the eyes flipped in the original demo. And I was always wondering why that cool 3D effect of the other demos wasn't there ;)

Re: Irrlicht + Oculus Rift Demo

Posted: Tue Jun 17, 2014 10:43 pm
by robmar
Looks good, where's the irrlicht code for the goggle drawing?