TrialVR is an extension to the Trial game engine that handles input from and renders to a modern virtual reality headset, using OpenVR. It provides an Emacs-based REPL that allows one to code interactively and iteratively whilst in virtual reality. TrialVR runs on Windows and Linux, and requires a SteamVR installation.
TrialVR is a work in progress.
Visit the #shirakumo channel on the Freenode IRC network to chat about this project.
(ql:quickload :trial-vr)
(org.shirakumo.fraf.trial.vr:launch :own-thread t)
Windows is recommended for performance reasons.
- A VR-ready PC with SteamVR installed.
- Any SteamVR compatible headset. The HTC Vive, Valve Index and Oculus Rift are all compatible, as well as many others.
- A development environment that allows for use of the CFFI groveller. MinGW-w64 and its MSYS2 shell are recommended for Windows.
- SBCL is highly recommended, though other implementations ought to work.
Clone the following to quicklisp/local-projects
- TrialVR
- fork of Trial, [https://github.com/selwynsimsek/trial]
- fork of 3b-openvr, [https://github.com/selwynsimsek/3b-openvr]
- Trial assets, [https://github.com/Shirakumo/trial-assets]
- upstream CFFI, [https://github.com/cffi/cffi]
- Alloy, [https://github.com/shirakumo/alloy]
- colored, [https://github.com/shinmera/colored]
- sdf, branch msdf, [https://github.com/shinmera/sdf]
Additionally clone to quicklisp/local-projects
- com-on [https://github.com/Shinmera/com-on]
Additionally clone to quicklisp/local-projects
- cl-xwd, [https://github.com/selwynsimsek/cl-xwd/]
- cl-ode
- cl-steamworks, [https://github.com/Shinmera/cl-steamworks]
Install VNC Viewer, Xvfb, Portacle, x11vnc and Fluxbox. These are used to capture the screen output of Emacs to VR.
Clone vrx-utils to the home directory.
In a shell, navigate to vrx-utils
and execute ./vr-system
.
An Emacs window should appear. Connect to Swank on port 4005 and use the REPL to start TrialVR.
- Selwyn Simsek
Copyright (c) 2020 Selwyn Simsek