/trial-vr

VR experiences with the Trial game engine.

Primary LanguageCommon Lisp

TrialVR

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.

Usage

(ql:quickload :trial-vr)

(org.shirakumo.fraf.trial.vr:launch :own-thread t)

Installation

Windows is recommended for performance reasons.

Prerequisites

  • 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

Windows

Additionally clone to quicklisp/local-projects

Linux

Additionally clone to quicklisp/local-projects

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.

Author

  • Selwyn Simsek

Copyright

Copyright (c) 2020 Selwyn Simsek