using_the_varjo_xr3_headset
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
using_the_varjo_xr3_headset [2023/01/06 11:16] – [Motivation and Audience] nkassai | using_the_varjo_xr3_headset [2023/01/19 16:22] (current) – nkassai | ||
---|---|---|---|
Line 6: | Line 6: | ||
**Author:** <Nathan Kassai> Email: < | **Author:** <Nathan Kassai> Email: < | ||
\\ | \\ | ||
- | **Date:** Last modified on <01/06/2023> | + | **Date:** Last modified on <01/19/2023> |
\\ | \\ | ||
**Keywords: | **Keywords: | ||
\\ | \\ | ||
+ | |||
+ | **Time to complete - 30 minutes** | ||
+ | |||
+ | By the end of this tutorial, you will have created a basic 3D environment in Unity, and successfully rendered the environment to our Varjo XR3 Headset! | ||
+ | |||
+ | Here is the final product after this tutorial: (Make sure to include link here!) | ||
+ | |||
+ | |||
+ | |||
+ | ===== Prerequisites ===== | ||
+ | Before starting this tutorial, the author assumes you either: | ||
+ | * Understand how to install/ | ||
+ | * Have SteamVR pre-installed and ready for VR integration (including BaseStation setup) | ||
+ | * Followed the previous Unity Crash Course which goes over everything mentioned above to prepare you for this tutorial | ||
+ | |||
+ | Additionally, | ||
+ | |||
+ | ^ Component | ||
+ | | Processor (CPU) | Premium 8-Core CPU. \\ \\ One of the following or better:\\ Intel Core i9-9900k | ||
+ | | Memory (RAM) | ||
+ | | Graphics Card (GPU) \\ \\ *Note: AMD Graphics cards are not supported yet as of 1/ | ||
+ | | Storage Space | 2 GB || | ||
+ | | Video Output | ||
+ | | USB Connectivity | ||
+ | | Operating System | ||
+ | |||
+ | |||
===== Motivation and Audience ===== | ===== Motivation and Audience ===== | ||
Line 25: | Line 52: | ||
* Hardware | * Hardware | ||
* Connections | * Connections | ||
- | * Software | + | * Software |
* Varjo Base | * Varjo Base | ||
* Connecting the Varjo XR3 to Unity | * Connecting the Varjo XR3 to Unity | ||
* Final Words | * Final Words | ||
- | {{: | ||
==== Hardware ==== | ==== Hardware ==== | ||
+ | To complete this tutorial, you'll need the following items (shown in image below from left to right) | ||
+ | |||
* Varjo XR3 Headset (1) | * Varjo XR3 Headset (1) | ||
- | * Display Cable (2) | + | * Display Cable (2) (add link for the specific cables required) (Add price for headset (when that price was established)) |
* USB 3.0 Cable (2) | * USB 3.0 Cable (2) | ||
- | * Link Box (1) | + | * Link Box (1) (List specific link box required (and model number in case goes missing) |
- | * 12V 3.0A AC Adapter (1) | + | * 12V 3.0A AC Adapter (1) (barrel jack type) |
- | \\ | + | {{: |
- | To complete this tutorial, you'll need the following items | + | |
- | <!-- Replace the URL below for your Google doc --> | ||
- | Here is the [[https:// | ||
- | \\ | ||
- | <!-- Replace the filename with your PDF that you uploaded to your DASL Wiki tutorial page --> | ||
- | Here is the {{: | ||
- | \\ | ||
==== Connections ==== | ==== Connections ==== | ||
- | This section gives step-by-step instructions along with photos to <fill in the blank>. (If a circuit-building tutorial:) A schematic | + | This section gives step-by-step instructions along with photos to ensure you make the proper connections |
- | \\ | + | |
- | \\ | + | |
**Step 1** | **Step 1** | ||
- | \\ | + | Grab the two long USB-C cables from the headset and connect them to their respective slots on the Link Box (connect A to A, B to B). |
- | \\ | + | {{: |
- | <Add photos | + | |
- | \\ | + | |
- | \\ | + | |
**Step 2** | **Step 2** | ||
- | \\ | + | Connect the two USB 3.0 Cables from the back of the link box to two available USB 3.0 slots on your PC |
- | \\ | + | |
- | < | + | |
- | \\ | + | **Step 3** |
+ | Connect the two Display Cables from the back of the link box to two available DisplayPort slots on your PC | ||
+ | |||
+ | **Step 4** | ||
+ | Once everything is properly connected to the link box, grab the 12v 3.0A AC Adapter, and connect it to the link box (connection is found on the side with the two USB 3.0 and DisplayPort cables), and connect the AC Adapter to an available wall outlet. | ||
+ | {{: | ||
+ | |||
+ | The headset is now powered on! Time to install/run the necessary software. | ||
==== Software ==== | ==== Software ==== | ||
- | A link to the source code can be found <provide URL to your code, probably saved in this DASL Wiki>. | + | To get the headset running, you must install Varjo Base! Go to the following |
- | \\ | + | |
- | The goal of the code is <brief explanation> | + | https:// |
- | \\ | + | |
- | ---- | + | And login to DASL’s Varjo Base Account (For security purposes, the account information will only be provided |
- | <!- Insert a snippet of your code here. Try to keep to less than 0.5 page long --> | + | |
- | ---- | + | Once you’ve logged in, you may hit download: |
- | \\ | + | |
- | The snippet above serves | + | {{: |
- | \\ | + | |
- | ---- | + | |
- | <!- Insert another snippet of your code here. Try to keep to less than 0.5 page long --> | + | After the executable has downloaded, run it, and follow through |
- | ---- | + | |
- | Next, the code does <fill in the blank> | + | |
- | <!-- Keep entering snippets of code and descriptions until you've given enough for a reader to understand how it works --> | + | |
- | // | + | |
- | // | + | |
==== Varjo Base ==== | ==== Varjo Base ==== | ||
+ | Once the software has been installed properly, you should see the following: | ||
+ | {{: | ||
+ | |||
+ | Note: There are two types of tracking that the Varjo XR3 uses: | ||
+ | |||
+ | * Inside-Out Tracking | ||
+ | * Utilizes the Front-facing cameras to draw virtual boundaries around the player | ||
+ | * SteamVR | ||
+ | * Utilizes HTC Vive 2.0 Base Stations to track the position of the headset | ||
+ | **You can use either or, however, since our lab has Base Stations, we will use SteamVR** | ||
+ | |||
+ | To change the tracking type, go to Varjo Base, click on System, and under Headset Tracking, change it to SteamVR. | ||
+ | |||
+ | * Calibration with SteamVR will not be shown in this tutorial. Tutorial for any headset utilizing SteamVR will be shown here (Add link for SteamVR calibration). | ||
+ | |||
==== Connecting the Varjo XR3 to Unity ==== | ==== Connecting the Varjo XR3 to Unity ==== | ||
+ | In order to get our headset connected to Unity, we will require the following packages: | ||
+ | * SteamVR | ||
+ | * Varjo' | ||
+ | |||
+ | Before installing the above-mentioned packages, please create a new Unity 2020+ 3D project and name it **Varjo_XR3_Intro**. | ||
+ | |||
+ | Once the project has opened, go to the Asset Store, download SteamVR (if not already downloaded), | ||
+ | |||
+ | Once SteamVR has finished installing, you may now install the Varjo SDK for Unity | ||
+ | |||
+ | Copy this Github link: https:// | ||
+ | |||
+ | Go back to Unity and press Window. Then scroll down to Package Manager. | ||
+ | When the package manager opens, press the top left (+) icon and select add package from git URL. Paste the above GitHub link into the text box and press add. | ||
+ | |||
+ | After a few minutes, the package should have installed the Varjo SDK into Unity! | ||
+ | |||
+ | In the Asset section, search for the Player GameObject and drag it into the Hierarchy. | ||
+ | |||
+ | And finally, hit play and put on the headset! | ||
+ | |||
==== Final Words ==== | ==== Final Words ==== |
using_the_varjo_xr3_headset.1673032563.txt.gz · Last modified: by nkassai