qwzybug / openvr-hs

Bindings for OpenVR and the Valve/HTC Vive

Home Page:http://rumpus.land

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenVR-HS

Bindings for OpenVR and the Valve/HTC Vive

These are preliminary but working quite smoothly.

See https://github.com/lukexi/openvr-hs/blob/master/app/Main.hs for basic example usage.

The example has optional hooks for Halive so you can make live edits to your code.

You'll need a few dependencies until I release the bindings on Hackage:

git clone --recursive git@github.com:lukexi/openvr-hs.git
git clone git@github.com:lukexi/glfw-pal.git
git clone git@github.com:lukexi/gl-pal.git
git clone git@github.com:lukexi/linear-extra.git
git clone git@github.com:lukexi/lens-extra.git
git clone git@github.com:lukexi/halive.git

Run the demo with stack test :cubes or cabal test cubes.

The build system expects a 64bit MSYS2 installation.

You must use GHC 7.10.3 or greater.

Feel free to contact me via the issues tab or @lukexi if you need any help getting set up.

About

Bindings for OpenVR and the Valve/HTC Vive

http://rumpus.land

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 77.9%Language:Haskell 17.4%Language:C 3.1%Language:GLSL 1.3%Language:Shell 0.4%