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
Install conda through whichever program you prefer, e.g. Miniforge.
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.
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
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
Determine the currently installed version:
conda list nanover-server
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.
Activate your NanoVer conda environment:
conda activate nanover
Install the NanoVer iMD-VR package:
conda install -c irl nanover-imd
Set up your VR headset.
To start the program, run the following command:
NanoveriMD
Download the latest release
Download the latest release from the git repo here.
Extract the downloaded zip file.
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:
Set up your headset according to your chosen setup (see the links above).
Navigate to the
windows
directory in the extracted folder, and launchNanoVer iMD.exe
.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)
Ensure that you have developer mode enabled on your headset (search online for up-to-date instructions).
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.Inside the VR headset, open Apps and filter
Unknown Sources
from the drop-down menu in the top right corner. Locate and runNanoVer IMD
.
Running locally on a Meta Quest headset via the Meta Developer Hub (tethered)
First, follow the above instructions for sideloading the apk onto your headset.
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.On your computer, open the Meta Quest Developer Hub and go to the
Device Manager
menu on the left sidebar.Look for the NanoverIMD app under
Apps
. It should be calledcom.IntangibleRealitiesLaboratory.NanoVeriMD
(hover over it with your cursor to see the full name).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 .