Skip to main content
Up and Coming
October 12, 2014

OGRE 3D, Rift DK2 (Extended mode)

Hi,

crossposting from the OGRE 3D Forums, for reference.

I coded a "simple" integration into OGRE 3D, you can find it on github, along with compilation and usage instructions.
"Simple", because:

  • it only works with the extended mode and

  • has no time warping at this point

  • but at the same time is intended to be very simple to integrate.

I did not need time warp for my project, so I did not add it. Making the direct mode work with OGRE seems to be a bit more involved, and kojak is working on that.

Screen from the included demo:


Use this however you wish. It'd be cool if you let me know, though - maybe by posting here.

    8 replies

    Up and Coming
    October 22, 2014
    Thank you ueczz,

    I really appreciate this post.
    Inspiring
    October 22, 2014
    Awesome work. OGRE is fun.
    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
    ueczzAuthor
    Up and Coming
    October 31, 2014
    Thanks for the positive comments!

    Update: I added the vignette effect, however, there's a now small rendering issue (on Linux, with SDK 0.4.3). See the OGRE forums thread for details.
    I hope to fix it this weekend - I have no idea where the issue comes from.
    ueczzAuthor
    Up and Coming
    November 15, 2014
    Update: The vignette issue has been fixed. With 0.4.3, this version also runs on Linux (Tested on Ubuntu 14.04.)
    Up and Coming
    November 19, 2014
    32 bit or 64 bit? Do you need to run the oculus daemon?

    Regards,

    Marc
    ueczzAuthor
    Up and Coming
    November 23, 2014
    Yes, daemon needs to be running (see the included readme, last point under "building": https://github.com/Germanunkol/OgreOculusSample)

    I used visual studio 32 bit (on a 64 bit PC). But it should work with 64 bit as well...? I don't think there's any part of it which requires 32 bit.
    Up and Coming
    November 25, 2014
    "ueczz" wrote:

    I used visual studio 32 bit (on a 64 bit PC). But it should work with 64 bit as well...? I don't think there's any part of it which requires 32 bit.


    I meant the daemon running on linux os. Because it is built for 64bit.

    Best regards,

    Marc
    ueczzAuthor
    Up and Coming
    November 25, 2014
    "MrZofka" wrote:


    I meant the daemon running on linux os. Because it is built for 64bit.


    Ah, all right.

    Also, I just stumbled on your other thread, now I think I understand what your problem is.

    Well, on my (64 bit) Ubuntu system I've been running the 64 bit version:

    $ file oculusd
    oculusd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=01311e3db1056b7aa0c15389e3332802ce278f83, stripped

    This works fine.

    But you need to have the deamon running - so if you hae a 32 bit system and they only shipped the 64 bit version of oculusd which you can't run, then I don't think I can help you, sorry... You'll need to keep asking them.