Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oculus Rift Direct Mode not working #37

Open
eugenschindler opened this issue Aug 27, 2015 · 7 comments
Open

Oculus Rift Direct Mode not working #37

eugenschindler opened this issue Aug 27, 2015 · 7 comments

Comments

@eugenschindler
Copy link

I tried all the example configurations that were included in the BlenderVR installation on Windows.
Head tracker works, but the view doesn't switch to Oculus, stays only on the monitor in a window.
Am I just missing a setting or is direct mode not supported?
When setting the Rift to extended mode, dragging the window to the Oculus desktop and maximizing it, I can get a windowed view in Oculus.

@dfelinto
Copy link
Contributor

I'm OSX and Windows platforms you need to mirror the desktop (and have them both with the Oculus resolution) to have Oculus working. Linux is the only platform where you can specify BlenderVR to run in a dedicated desktop (though it still isn't via direct mode).

We need to specify that in the manual (http://blender-vr-manual.readthedocs.org/components/dk2.html )

@eugenschindler
Copy link
Author

Thanks. That was my "hack" solution as well. I really hoped to be able to
get it to run in direct mode (like Unity does).
Updating the manual is a good suggestion. Do you need help on that?

On Thu, Aug 27, 2015 at 4:20 PM, Dalai Felinto notifications@github.com
wrote:

I'm OSX and Windows platforms you need to mirror the desktop (and have
them both with the Oculus resolution) to have Oculus working. Linux is the
only platform where you can specify BlenderVR to run in a dedicated desktop
(though it still isn't via direct mode).

We need to specify that in the manual (
http://blender-vr-manual.readthedocs.org/components/dk2.html )


Reply to this email directly or view it on GitHub
#37 (comment).

@dfelinto
Copy link
Contributor

Do you need help on that?

If you are even slightly familiar with RST that would definitively help.

The related file is:
https://github.com/BlenderVR/manual/blob/master/manual/components/dk2.rst

Additional info I think it's relevant for Linux environments:

"""
You need to run ovrd in order to have the Oculus communicating with the applications. ovrd is part of the Oculus SDK.

All this communication is done via the /dev/hidraw2 device. The hidraw driver provides the RAW interface for HID (Human Interface Devices) USB and Bluetooth.

How to install it? All you need is to run make install as indicated in the README.Linux file of the SDK.

Additionally, if you run into problems, you may be required to load the OpenGL library from a recent driver. For example by adding export LD_PRELOAD="/usr/lib/nvidia-346/libGL.so to your .bashrc file (replace-346 by your driver version).
"""

@eugenschindler
Copy link
Author

I don't mind adding the bare stuff I needed to do to make it work on Windows. I can also add your information about Linux.
What is RST?

@PyrApple
Copy link
Contributor

RST stands for reStructuredText (http://docutils.sourceforge.net/rst.html), kind of interpreted .txt files used to build docs (pdf, html) with sphinx (http://sphinx-doc.org/tutorial.html).
Always useful to learn (thanks dalaï :), yet if you don't feel like waisting time over it:

  1. I'll add the changes you and dalaï mentioned to dk2.rst
    or
  2. You may add the bare instructions in dk2.rst as you would a standard .txt file and I'll adapt it for sphinx compilation here.

(regarding direct mode, I'm still giving it a search every once in a while yet hadn't find where/how to start the implementation so far)

@eugenschindler
Copy link
Author

Never mind, I found out that it must be the reStructuredText markup. No problem, I will be able to deal with that :-)

@eugenschindler
Copy link
Author

Ah, seems we cross-posted. Thanks for the info!
Does this help with getting further on the direct mode of the Rift: http://www.glfw.org/docs/latest/rift.html#rift_direct ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants