Installation & Getting Started

NanoVer consists of two components: the python-based libraries for running simulations, and the Unity3D libraries and applications for visualising & interacting with simulations in VR.


User Installation Guide

This guide contains the information required to get NanoVer up and running on your computer! This includes creating a conda environment and installing the server, which is required for setting up and running simulations. You then have the option to install the iMD-VR client, which you can use for visualising and interacting with your simulations inside VR.

Setting up conda

  1. Install conda through whichever program you prefer, e.g. Miniforge.

  2. Open a terminal that you have conda installed in:

    • On Windows, this is Windows Powershell.

    • On Mac and Linux, this is the terminal.

At this point, you are ready to create your conda environment and install the NanoVer server! Please refer to Installing the server.

Installing the server

We can create our conda environment and install the NanoVer packages all in one go! Doing so ensures that we install the correct version of python for our packages.

  1. Create your conda environment (here we call the environment “nanover”) and install the NanoVer packages by running the following command in the terminal that you have conda installed in:

    conda create -n nanover -c irl -c conda-forge nanover-server
    
  2. To use your newly created NanoVer conda environment, activate it as follows:

    conda activate nanover
    

For information on how to run NanoVer servers, check out the tutorials.

Updating the conda package

  1. Determine the currently installed version:

    conda list nanover-server
    
  2. Attempt to update to latest version:

    conda update nanover-server
    

If you can’t seem to update to the latest version of the NanoVer server, there may be some issue with the dependencies of the packages. In this case, we recommend creating a new conda environment and reinstalling nanover-server, following the installation instructions.

Installing the iMD-VR client

To use NanoVer iMD-VR, you have two options:

  • Conda installation of the NanoVer iMD-VR package. This is a good option if you are familiar with conda (or want to learn how to use it!), see Conda installation.

  • Download the latest release of the NanoVer iMD-VR executable. This is a quick and easy option for those unfamiliar with conda, see Download the latest release.

For more information on how to choose your installation method based on your VR setup, please check out the choosing your iMD-VR setup section on the NanoVer iMD-VR tutorial page.

Conda installation

If you have not already created a NanoVer conda environment, please refer to Setting up conda and Installing the server.

  1. Activate your NanoVer conda environment:

    conda activate nanover
    
  2. Install the NanoVer iMD-VR package:

    conda install -c irl nanover-imd
    
  3. Set up your VR headset.

  4. To start the program, run the following command:

    NanoveriMD
    

Download the latest release

  1. Download the latest release from the git repo here.

  2. Extract the downloaded zip file.

  3. The next steps depend on your chosen VR setup:

Using PC-VR (wireless or tethered)

This includes Meta Quest Link & AirLink, SteamVR, and Steam Link:

  1. Set up your headset according to your chosen setup (see the links above).

  2. Navigate to the windows directory in the extracted folder, and launch NanoVer iMD.exe.

  3. The first time you run this, Windows will likely prompt you with a warning about the executable not being signed. If this happens, click on the “More info” button, then “Run anyway”. You will also likely be prompted by the Windows firewall, allow NanoVer to access the network.

Running locally on a Meta Quest headset (wireless)
  1. Ensure that you have developer mode enabled on your headset (search online for up-to-date instructions).

  2. Connect your headset to your computer with a cable and sideload the nanover-imd.apk from the extracted zip file onto your device. You can use SideQuest or the Meta Quest Developer Hub for this.

  3. Inside the VR headset, open Apps and filter Unknown Sources from the drop-down menu in the top right corner. Locate and run NanoVer IMD.

Running locally on a Meta Quest headset via the Meta Developer Hub (tethered)
  1. First, follow the above instructions for sideloading the apk onto your headset.

  2. Connect your headset to your computer with a cable. A notification may appear inside your headset stating USB Detected: click on this notification to allow the connected device to access files. Allow this.

  3. On your computer, open the Meta Quest Developer Hub and go to the Device Manager menu on the left sidebar.

  4. Look for the NanoverIMD app under Apps. It should be called com.IntangibleRealitiesLaboratory.NanoVeriMD (hover over it with your cursor to see the full name).

  5. Click on the three dots (on the far right) for this app and select Launch App.

Key point

For a wireless setup you will need to have a strong and stable internet connection that allows communication over the network. This option is often incompatible with public / institutional networks.

Key definition

Tethered: using a cable to connect your VR headset to your computer.


Developer Installation Guide

We refer developers to the relevant code bases:

  • If you want to create your own custom server, connect a different physics engine or create a custom client, you can do this via modification of the NanoVer protocol. To download and install the source code, please follow the developer installation instructions in the README of the nanover-protocol repository on GitHub.

  • If you want to customise the NanoVer iMD-VR Unity3D application, instructions for obtaining the source code are available in the nanover-imd-vr repository on GitHub .

  • If you want to build your own VR application that interfaces with NanoVer, the NanoVer Unity3D libraries are available in the NanoverUnityPlugin repository on GitHub .