Oculus Rift

Feedback on past, current, and future development.
User avatar
Br0ken
Posts: 243
Joined: 02 Apr 2012, 05:54
Location: Siberia

Re: Oculus Rift

Post by Br0ken »

An open-source library that support variuos VR devices. Based on Qt and requires no other libraries. Looks nice!
https://github.com/marlam/qvr
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Oculus Rift

Post by AnyOldName3 »

That might be the exact thing that we need if we're to get VR support without violating the GPL. Then again, it might not be. I don't exactly know how it works.
User avatar
Br0ken
Posts: 243
Joined: 02 Apr 2012, 05:54
Location: Siberia

Re: Oculus Rift

Post by Br0ken »

I hate these licensing issues... :cry:
"The integration of OpenSceneGraph with our framework requires only few lines of code", so it would be great if QVR will be GPL-compatible.
mjmax
Posts: 15
Joined: 06 May 2012, 22:31

Re: Oculus Rift

Post by mjmax »

Hey everyone, I haven't seen anyone mention OpenXR:
https://en.wikipedia.org/wiki/OpenXR

It's being developed by Khronos with a tentative first release of mid-2018. It seems to be the leading candidate for an industry VR standard. From what I've heard the guys over at Dolphin are waiting for it to officially implement their VR support:
https://www.reddit.com/r/oculus/comment ... d/dhz78aw/

They also have a GPL license, so it seems like OpenXR would be a match once it finally releases.
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Oculus Rift

Post by AnyOldName3 »

I'm surprised to learn about that here. I'm even more surprised to find out that the guy I know as Armada on Dolphin's forums is the same guy as the one behind Revive.

Either way, once there's a way to make OpenMW work on my Vive without breaking the GPL, I'll hopefully be able to do some of my own meddling and get something some kind of working.
lethality
Posts: 5
Joined: 14 Jul 2016, 12:46

Re: Oculus Rift

Post by lethality »

I haven't had much time to look at this in the last year but I did update to the latest version of OpenMW, performance has improved a lot and the frame rate in my little hacked VR version is starting to look kind of OK. One of the main performance issues is that osgopenvrviewer runs in single threaded mode, modifying OSG to include VR support seems like the right approach to me.

qvr looks interesting, it worked fine with the test cow model but I had trouble integrating it with OpenMW. I am not sure if there is a Qt version issue, qvr uses Qt 5 and OpenMW wants to stick with version 4 at the moment. Maybe I was just doing something else wrong though, if it works well with OpenMW that might be a way to get around licence issues and support multiple VR systems.

Most of the work required for VR support is the same regardless of API so it should be fairly easy to switch to OpenXR when it is released, it certainly sounds like the best option in the long term.

Of course, you can do as much meddling as you like with anything GPL, the only problem is redistribution. I think it is also generally understood that you can redistribute source code without these concerns about licence incompatibilities.
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: Oculus Rift

Post by LoneWolf »

lethality wrote:I am not sure if there is a Qt version issue, qvr uses Qt 5 and OpenMW wants to stick with version 4 at the moment.
arch linux builds openmw against QT 5 and everything runs fine.
try building with

Code: Select all

-DDESIRED_QT_VERSION=5
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Oculus Rift

Post by scrawl »

One of the main performance issues is that osgopenvrviewer runs in single threaded mode, modifying OSG to include VR support seems like the right approach to me.
I've only had a quick look at this osgopenvrviewer, but I'm sure it could be made to work with threading without having to modify OSG itself. What exactly breaks when using threading? Does it try to create OpenGL objects from the non-OpenGL thread? This code could probably be changed to use the osg constructs (e.g. osg::FrameBufferObject or osg::Camera) instead of calling OpenGL manually, and that way OpenGL calls will naturally move to the graphics thread.
ajira2
Posts: 55
Joined: 30 Oct 2017, 14:27

Re: Oculus Rift

Post by ajira2 »

Hello, yesterday I purchased my Oculus! 399€

I was in Barcelona Games World and had the oportunitty to test it and it convinced me.

I bought Skyrim VR as well, Oculus gets home tomorrow and I'm looking forward to test.

I would like as well to test it with OpenMW, but it is ready yet? What are the steps for doing that?

The thing that impressed me the most was the ability to turn your head and the sensation of freedom or space. It was not like staring a screen but more like peeking out of a window a new world of calmness, freedom and space.

Best regards!
User avatar
psi29a
Posts: 5355
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Oculus Rift

Post by psi29a »

ajira2 wrote: 03 Dec 2018, 11:01 I would like as well to test it with OpenMW, but it is ready yet? What are the steps for doing that?
First thing you do is try to convince the Oculus Rift people to change their license to something GPL compatible.
Post Reply