There is no rush on this but I wanted to record it all as future reminders.
@IndianaJohn did a great amount of work in #2479 adding support for OpenVR, and embedded it into Terasology for the time being. It could live as an external library with some pros and cons.
He's got a repo over at https://github.com/indianajohn/jopenvrwrapper
OpenVRProvider.java uses com.sun packages which is discouraged, but this might be required as part of using JNA - which is indeed in such a packageprovided dependency edit in our engine to avoid a version conflict. So long as it is a minor difference, of course, probably wouldn't quite work if one depends on LWJGL 2 and the other LWJGL 3 ...libopenvr natives, akin to how LWJGL does it, and extract them at Gradle prep time the same way (rather than keep them in source). This is a hassle, but oh well.Thanks to a friend who came to visit me, I received my OSVR kit. I spent two nights to make it working 😱, however still experiencing some issues with SteamVR(OpenVR) support (screen is upside down, extended mode only, wrong feedback and orientation). It might be because of my poor GT650m's performance is not enough for direct mode. (Minimum expected GPU for HDK 2 I suppose is GTX970.)
As far as I understand, there are two modes to use OSVR headsets: ( _To clarify, OSVR is the open source VR headset platform where HDK 2 is the headset that I have._)
I'll start trying the headset with Terasology tomorrow. Fingers crossed!
Hey @tdgunes good to hear from you and that the headset got to you at last! Have you let our OSVR rep know? He might be able to help with those issues as well :-)
From playing with the Oculus early on those issues sound very familiar. Lots of experimenting with direct and extended mode, per app, to figure out what worked with the correct orientation. Early on it was mostly extended mode that worked, but I often had to go into my OS display settings to change the orientation of the "monitor" (of the headset) before it would be right.
Later on it sounds like Oculus has gone to a direct-only approach, but I haven't been able to update my drivers and related software to try it out lately. I never did have a great GPU for it myself, but hopefully soon I will :-)
Just replying to state that I've read the above and have them in mind. I plan on staggering functionality-improving updates with cleanup-style updates.
I just played Doom 3 VR for 30 minutes, and had to stop due to motion sickness. This got me thinking about locomotion in VR. I have some ideas I might play with over the weekend in addition to maybe looking at some of these issues.
One thought, even if not very novel at this point, would be linking this to the Rails mod to handle locomotion quite literally via locomotive :D Since the steady vantage point of being in a vehicle typically seems to help. Whether it is a full roller coaster (which can lead to some other discomfort!) or just a simple bit of playing with trains just for the simple experience.
(Pinging @SkySom @pollend @small-jeeper)
@Cervator How about doing a top-down creative mod? Drawing rivers, mountains and etc. That would be really interesting, think about combination of Tilt Brush and Terasology. (Sorry but it'd probably work best with HTC Vive's controllers.)
For giving you an idea about what I am thinking, please check this red alert remake for HTC Vive.
Side note: we have "smooth" movement modes which turn off the bobbing. The cinematic mode was originally intended for smooth camera motion, but maybe that also helps with VR…
Most helpful comment
@Cervator How about doing a top-down creative mod? Drawing rivers, mountains and etc. That would be really interesting, think about combination of Tilt Brush and Terasology. (Sorry but it'd probably work best with HTC Vive's controllers.)
For giving you an idea about what I am thinking, please check this red alert remake for HTC Vive.