Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ueczz's avatar
ueczz
Honored Guest
11 years ago

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

  • ueczz's avatar
    ueczz
    Honored Guest
    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.
  • ueczz's avatar
    ueczz
    Honored Guest
    Update: The vignette issue has been fixed. With 0.4.3, this version also runs on Linux (Tested on Ubuntu 14.04.)
  • MrZofka's avatar
    MrZofka
    Honored Guest
    32 bit or 64 bit? Do you need to run the oculus daemon?

    Regards,

    Marc
  • ueczz's avatar
    ueczz
    Honored Guest
    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.
  • MrZofka's avatar
    MrZofka
    Honored Guest
    "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
  • ueczz's avatar
    ueczz
    Honored Guest
    "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.