Skip to content

alvinquach/jpl-trek-vr

Repository files navigation

Mars Trek VR Application

Table of Contents

Requirements

Hardware

VR Headset

  • HTC Vive (Vive Pro should also work, but has not yet been tested)
  • Occulus Rift is currently unsupported.

PC Requirements

Software

  • Steam and SteamVR
  • Windows operating system, other operating systems may yield unpredictable results.

Development Setup

This section contains instructions on how to clone and setup the project for development, or to just run the application without building/compiling. Each section should be completed in order of apperance.

Prerequisites

The following hardware/software is required:

Repository Setup

  1. Clone this repository.

    Example:

    git clone https://github.com/alvinquach/jpl-trek-vr.git
    
  2. Init the submodules. This repository contains one submodule: jpl-trek-vr-ext-assets

    Example:

    cd jpl-trek-vr
    git submodule init
    git submodule update
    
  3. Pull LFS Files. Example:

    git lfs install
    git lfs fetch
    git lfs pull
    

    This make take a couple of minutes, since the some textures are relatively large files.

Running the Unity Project

  1. Start the Unity Editor
  2. In the Open Project dialog box, click Open. Then, navigate to the project folder (jpl-trek-vr if you followed the example commands in the previous section) and click Select Folder.
  3. Give Unity some time to automatically build some files.
  4. Open the main-room scene under Assets/Scenes folder.
  5. Click on the play button on top to run the application.

Controls

HTC Vive

Controls specific to the HTC Vive headset.

Controller

  • Currently only one controller can be used at a time.

  • The touchpad allows you to move forwards and backwards relative to where the controller is pointed. Click the upper half of the touchpad to move in the direction that the controller is pointed, and click the bottom half of the touchpad to move away from the direcction that the controller is pointed.

    For example, to move foward, point the controller towards your front and click the top portion of the touchpad. Click the bottom half of the touchpad to move backwards instead.

    To move sideways, point the controller to the side, and then click the touchpad.

  • The grip button(s) allow you to grab the planet and spin it around.

  • The menu button opens up a VR menu containing a list of bookmarks. Click on the menu button again to close the menu.

    Clicking on a bookmark using the trigger button will rotate the planet such that the bookmarked area is facing you.

    When the menu is open, the bookedmarked areas will also appear on the planet with a pin and label.

  • Holding down the trigger button allows you to drag the planet around.

  • Double clicking the trigger button when the controller is pointed to the planet will rotate the planet such that the area that is being pointed at is facing you.

Thrid-Party Credits

This projects uses assets libraries from third party sources.

Assets Store

Thrid party assets from the Unity Asset Store are located in an external repository (jpl-trek-vr-ext-assets). The list of assets can be found in the README of that repository.

Thrid Party DLLs

Third party .NET DLL files can be found in the Assets/Plugins folder of this repository. The list of thrid party DLLs can be found here.

About

JPL Trek VR Room application

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages