Skip to content
/ JRift Public
forked from mabrowning/JRift

Java Wrapper for the Oculus Rift HMD and Sensors

License

Notifications You must be signed in to change notification settings

laykun/JRift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JRift

Java Wrapper (JNI) for the Oculus Rift HMD and Sensors.

Currently exposes the HMDInfo and yaw/pitch/roll angles of the sensors.

You can get a first alpha build (32-bit JRE) for Windows from here: https://dl.dropbox.com/u/8241387/OVR/JRift_alpha.zip

Buliding

Windows

Compile the Java-part into a JAR (JRift) and compile the C++ part into a .dll (JRiftLibrary). The JRiftLibrary comes with a Visual Studio 2010 solution project so it should build by only properly setting up two depenencies:

  • jni.h header include of your installed JDK (include /include and /win32
  • OVR SDK headers and library references. Get the SDK from Oculus VR and see this wiki entry on how to set up the includes and library references properly.

Mac

Thanks to krisds, MacOSX is supported as well; need to build native library yourself via Makefile, though.

Linux

You need to install "build-essentials" and "g++-multilib"

run "make"

About

Java Wrapper for the Oculus Rift HMD and Sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published