OpenTK.Rift is an intuitive, cross-platform C# wrapper for the Oculus Rift SDK.
Home page: http://www.opentk.com
Official repository: https://github.com/opentk/rift
- Create great Oculus Rift applications from the comfort of C#, F# and VB.Net
- Increase your reach: support for Windows, Linux and Mac OS X
- Break the limits: leverage the full power of OpenGL 4.4, OpenCL and OpenAL
- Code faster: avoid the pitfalls of C++ memory management
OpenTK.Rift consists of two parts: a native, platform-specific library (libOVR) and a C#, platform-independent wrapper (OpenTK.Rift.dll). You need both parts in order to run an Oculus Rift application.
Begin by cloning OpenTK.Rift using the git client of your choice.
Windows:
- Install CMake via the Win32 Installer. In the last screen, select the “Add CMake to your PATH” option.
- Open and build OpenTK.Rift.sln using Visual Studio 2012 or newer.
Mac OS X:
- Install CMake.
- Install the free edition of Xamarin Studio.
- Install the NuGet plugin for Xamarin Studio. Alternatively, follow steps 3 to 6 from the Linux instructions below.
- Open and build OpenTK.Rift.sln using Xamarin Studio.
Ubuntu Linux:
- Open a terminal and navigate to where you cloned OpenTK.Rift.
- sudo apt-get install build-essentials cmake mono-devel monodevelop
- mozroots --import --sync
- mkdir -p packages && cd packages
- wget http://build.nuget.org/NuGet.exe
- wget https://dl.dropboxusercontent.com/u/30682604/Microsoft.Build.dll
- mono --runtime=v4.0 NuGet.exe install OpenTK
- Open and build OpenTK.Rift.sln using MonoDevelop.
OpenTK.Rift is a very young project. You are welcome to join its development at https://github.com/opentk/rift
The library is tested and fully functional on Mac OS X 10.9.x and Ubuntu Linux 12.04.
Missing features, in order of importance:
- Test build system on Windows.
- Find a good distribution method for the native library.
- Add support for device hotplugging.
- Add support for more libOVR features.