LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: BrickFarmer on March 05, 2018, 12:06:12

Title: Oculus Rift and Touch Controllers or SF30
Post by: BrickFarmer on March 05, 2018, 12:06:12
Great good job keeping the Oculus lib updated!  I'll hopefully get my Oculus PC development rig back this month so that I can start some development with LWJGL3 again.  I just wanted to ask if the touch controllers also now supported in LWJGL3?  I couldn't see anything mentioned about them so far...  otherwise I was thinking of getting a '8Bitdo SF30 PRO'  since it looks like it might be supported? and having had a month with my mini SNES I quite like the idea of supporting a classic controller interface :)
Title: Re: Oculus Rift and Touch Controllers or SF30
Post by: spasi on March 05, 2018, 12:30:53
Yes, the Oculus SDK has supported the controllers for a long time now, since 0.7.0 afaict.

I'm thinking about adding bindings to the Avatar SDK (https://developer.oculus.com/downloads/package/oculus-avatar-sdk/) and the native Audio Spatializer (https://developer.oculus.com/downloads/package/oculus-spatializer-native/) in the future.
Title: Re: Oculus Rift and Touch Controllers or SF30
Post by: BrickFarmer on March 05, 2018, 18:32:48
Interesting! Well you already have OpenAL... but the Avatar hand/touch rendering stuff would be great, seeing hands in VR makes a huge difference imo :)  sneaky of them to bolt the social API onto the same SDK, although it seems to be optional from my reading. Thanks.
Title: Re: Oculus Rift and Touch Controllers or SF30
Post by: spasi on March 05, 2018, 18:39:01
The spatializer does HRTF processing only, you'd still need something like OpenAL to actually play the audio.
Title: Re: Oculus Rift and Touch Controllers
Post by: BrickFarmer on April 08, 2018, 09:16:56
So I finally got my VR rig back and I'm starting some dev work again :) 

I updated to LWJGL 3.1.6 and this seems to be using the latest Oculus Rift SDK (1.24), although I'm not sure how to confirm that, ie whether my code is reporting runtime library version of SDK, or binding version...

I noticed some changes with eye pose, and got my scene rendering again, but I suspect something strange with the 'inter pupil distance' either in the SDK or my code, so I need to work out what changed there and then I'll update github with an updated sample.

There also seem to be some changes to the SDK Tiny GL demo that I need to work through, sensor timings and sessionStatus, but I'll report back what I find.