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.
You can download the demo from my homepage
Irrlicht + Oculus Rift Demo
Irrlicht + Oculus Rift Demo
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: Irrlicht + Oculus Rift Demo
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.
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
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.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: Irrlicht + Oculus Rift Demo
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)
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: Irrlicht + Oculus Rift Demo
Nice! Works much better now. I can feel the depth in this version
Re: Irrlicht + Oculus Rift Demo
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
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: Irrlicht + Oculus Rift Demo
Looks good, where's the irrlicht code for the goggle drawing?