Skip to main content
Up and Coming
April 13, 2013

Irrlicht 3D Engine

Hi,
i wrote month ago a test for my DIY HMD with the Irrlicht 3D engine (http://irrlicht.sourceforge.net/).
I've just updated it to use the distortion formula and parameters from the Oculus SDK.
As soon as receive my devkit i will try to intergrate the tracker, or if you have time and want to have fun, you can help me to improve it :D
Here is the link: https://github.com/troffmo5/HMDIrrlicht

Have fun!

    16 replies

    Up and Coming
    April 13, 2013
    Sweet! I posted a request for Oculus Rift support last year on the Irrlicht forums. And now its happening! Cant wait to start experimenting with this engine and the Rift.
    Inspiring
    April 16, 2013
    Awesome! The more engine support the better.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    June 5, 2013
    I checked this out a little while ago, and now I've received my rift I can confirm that it does a convincing transformation. In getting it to work, I had a problem with the shader; here's a line of code found at https://github.com/troffmo5/HMDIrrlicht/blob/master/HMDStereoRender.cpp#L32:

    " gl_TexCoord[0].st = gl_MultiTexCoord0;"

    In order to get the project to work in VS2010 on Windows 7, I had to remove '.st' from that line, so it looks like this:

    " gl_TexCoord[0] = gl_MultiTexCoord0;"

    With '.st', an error to the effect of a 4-vector of floats being assigned to a 2-vector of floats was being popped out of the shader, and most of the scenery didn't render correctly. After removing that, hunky dory!
    Up and Coming
    June 16, 2013
    Hi,

    I am a fan of the Irrlicht engine which I also have used for some projects, this is great news as I would like to use Irrlicht for some demos...
    Up and Coming
    June 18, 2013
    Hi,

    I am also a long-time Irrlicht user, and as I did receive my DevKit last friday I am going to try to integrate it as well. But as I am doing all this in my free time I can't tell you any date when I'm going to get it done. I hope soon.
    Up and Coming
    June 18, 2013
    "cybereality" wrote:
    Awesome! The more engine support the better.

    I want Panda3D (open source game engine used in Disney games), along with Irrlicht and Ogre (and ogrekit), and Cube2 as well. There is a wealth of environments that each of these engines has behind it, and more to explore in VR is a wonderful thing.
    This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
    Up and Coming
    July 4, 2013
    This is just a little demo for the integration of the Rift in Irrlicht engine. It includes source and executable. To rebuild it you need the Oculus SDK and Irrlicht 1.8.

    Big thanks to Suvi for helping me with getting the Rotation from the rift applied correctly (a thread on the Irrlicht forum) and to Marbas for the distortion code (another thread on the Irrlicht forum .. 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

    Inspiring
    July 12, 2013
    Not bad, but it looks like the eyes are reversed.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    July 13, 2013
    Yes, cross-eye view on above image.
    This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
    Inspiring
    July 16, 2013
    On the demo too.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV