Re: Oculus Rift Support?

Posted by BrickFarmer on
URL: https://forum.jogamp.org/Oculus-Rift-Support-tp4032840p4032863.html

Sven Gothel wrote
> I also read through the siggraph slides (link missing from your front
> page)
Pls update your browser cache, it's there.
Sorry, I meant the JOGL main page, the links on the right hand side.

Anyway thanks for the extra info.  I tried again with the demo and suspect it might be designed for pre 0.4.1 SDK? because I get now a crash in some Oculus native library I think.  I'm not familiar with the earlier Oculus SDKs...

I also agree that this binary blob approach is a bit worrying.  Who knows what it's going to be doing in the future (facebook?).  Currently this blob is windows only, but I'm sure it will arrive on the mac and linux soon enough.

Anyway given the current situation I'm sure it would also be useful to also have just a thin wrapper for some requirements, especially whilst things are in flux and things like shader responsibility and other features may shift responsibility again going forward.  Is this something gluegen could be doing?  Or am I better to be focusing on JOVR for that lower level of access?  The idea of cross platform JOGL + Rift is so appealing!

Btw I'm happy to test DK2 code for you if you need!  OSX 10.5.8 Java 7 although my laptop can only handle simple Rift scenes...

glob duration 10000
glob useStereoScreen true
deviceType Default
deviceIndex 0
biLinear true
numSamples 0
useSingleFBO false
useRecommendedDistortionBits true
useVignette true
useChromatic true
useTimewarp true
useAutoSwap false
OVR::DeviceManagerThread - running (ThreadId=0x0x19713d000).
OVR::DeviceManager - initialized.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019702ad1c, pid=11336, tid=6403
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liboculusvr.jnilib+0x5d1c]  OVR::CAPI::HMDRenderState::GetDesc()+0x5c