Git Product home page Git Product logo

kerbal-vr's Introduction

KerbalVR

An add-on for Kerbal Space Program (KSP) to enable the use of a virtual reality headset (HTC Vive, Windows MR, Oculus Rift, etc), as supported by OpenVR. Supports in-flight IVA, and room-scale VAB / SPH.

FOLLOW the Install Guide, as there is a little bit more setup compared to other KSP mods.


Built for KSP v1.4.3

Demonstration video


This is a WIP mod to allow the use of the HTC Vive (and any other HMD supported by the OpenVR SDK) in KSP. The primary focus is for use in IVA, and can also be used to walk around inside the VAB or SPH (room-scale).

IVA in VR puts you inside the cockpit of your craft. You can look around (and walk around if you have the physical space around you). Currently, it is possible to interact with cockpit instrumentation provided by the RPM mod (see note below); I am actively working on adding more immersive features for the cockpit (more coming soon!). The goal is to replace the use of the keyboard and mouse entirely with interactive cockpit controls (buttons, switches, control sticks, throttles, etc.)

Room-scale VR in the VAB and SPH allows you to walk around inside the building and see your craft at a 1:1 scale.

It is possible to get 90 FPS by following the Performance Tips below.

You may experience random crashes while using the mod. You have been warned.

VR will only work with KSP using Direct3D 12, i.e. you need to use the -force-d3d12 flag on the executable. It will not work if you try to run KSP normally. To enable the Direct3D 12 flag, create a Shortcut to either KSP.exe or KSP_x64.exe, and on the shortcut Properties, append -force-d3d12 to the Target. Follow the Install Guide if you're having trouble.

Requirements

Installation & Usage

For installation instructions, see the Install Guide.

For instructions on how to use the mod, see the User Guide.

For guidance on compiling this project and other project documentation, see the Build Guide

Known Issues

Actually there's a lot of issues, but this one is noteworthy: when I run KSP with KerbalVR, the part icons in the VAB/SPH appear blue! Hwo to fix!!1??1???

Well this problem is not my fault, but there's a fix. You need to download this fix, and place it in your GameData folder like any other mod. You can read more about it here and here.

RasterProp Monitor

There is experimental support for VR interaction with RPM. See the User Guide for more details. Note that using RPM may hinder performance in VR (lower FPS).

VR Cockpits

A set of VR-ready cockpits is provided by the KVR Pods mod.

Performance Tips

For best performance, go to the Settings menu in Kerbal Space Program, and under the Graphics tab, set:

  • Screen Resolution: 1024 x 768
  • Full Screen: unchecked
  • V-Sync: Don't Sync
  • Frame Limit: 100 FPS (or higher)

It is important to set V-Sync and Frame Limit as described above so that the Vive is able to render the game at 90 FPS. Experiment with the rest of the settings as you see fit.

The Render Quality seems to have a large impact on performance; if it is set too high, you may experience erratic flickering while in VR (see issue 21).

Tested System Configurations

I'm developing this mod with a Vive / Core i5-6600K / GTX 1070. Other systems have been tested by users, as described below:

Hardware

Headset Controllers OS CPU GPU
HTC Vive Vive Wands Win10 x64 Intel Core i5-4590 GeForce GTX 770 x2
Oculus Rift Oculus Touch Intel Core i5-6600K (4.4GHz) GeForce GTX 970
Windows MR Motion Controllers Intel Core i5-7300HQ GeForce GTX 1050Ti
Intel Core i7-4790K GeForce GTX 1070 8GB
Intel Core i7-6700K GeForce GTX 1080
Intel Core i7-8700K Radeon RX 480
AMD Ryzen 7

Drivers

Nvidia SteamVR
398.11 beta 1528321160

kerbal-vr's People

Contributors

jrbudda avatar vivero avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.