setting_up_openvr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
setting_up_openvr [2017/05/02 14:25] – keitaronishimura | setting_up_openvr [2017/05/05 12:33] (current) – keitaronishimura | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Setting Up OpenVR ===== | ===== Setting Up OpenVR ===== | ||
- | **Date:** Last modified on 05/02/17 | + | |
+ | **Author:** Keitaro Nishimura Email: nishik1@unlv.nevada.edu | ||
+ | \\ | ||
+ | **Date:** Last modified on 05/05/17 | ||
\\ | \\ | ||
**Keywords: | **Keywords: | ||
\\ | \\ | ||
+ | {{ vive_tut: | ||
\\ | \\ | ||
The photo above depicts the what the reader would see when running the "Hello World" demo for OpenVR. This tutorial shows you how to download and run the "Hello World' example for OpenVR. | The photo above depicts the what the reader would see when running the "Hello World" demo for OpenVR. This tutorial shows you how to download and run the "Hello World' example for OpenVR. | ||
Line 14: | Line 17: | ||
<fc blue> | <fc blue> | ||
| | ||
+ | \\ | ||
| | ||
Line 24: | Line 28: | ||
| | ||
| | ||
- | |||
==== Parts Lists and Sources ==== | ==== Parts Lists and Sources ==== | ||
-You will need all of the parts used in the tutorial before this and nothing more. | -You will need all of the parts used in the tutorial before this and nothing more. | ||
Line 37: | Line 40: | ||
\\ | \\ | ||
If you are using the lab HTC Vive dedicated computer shown in the last tutorial you can skip this section. | If you are using the lab HTC Vive dedicated computer shown in the last tutorial you can skip this section. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
1. Once on the OpenVR Github page, click on the clone or download button on the right-hand side of the page and download the Zip file to your computer. While you are on the page locate the Issues and Wiki tab. These tabs hold all of the information you will need to use the SDK. The wiki tab has all of the documentation for the API while, the Issues tab is where people can ask developers or other users of the SDK solutions to issues that they run into. | 1. Once on the OpenVR Github page, click on the clone or download button on the right-hand side of the page and download the Zip file to your computer. While you are on the page locate the Issues and Wiki tab. These tabs hold all of the information you will need to use the SDK. The wiki tab has all of the documentation for the API while, the Issues tab is where people can ask developers or other users of the SDK solutions to issues that they run into. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
2. Once you have downloaded the zip file extract it to a directory that is easy for your to access. You will be pointing to this folder when developing code later on so putting it in the " | 2. Once you have downloaded the zip file extract it to a directory that is easy for your to access. You will be pointing to this folder when developing code later on so putting it in the " | ||
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
- | 3. If you already have Microsoft Visual studios on your computer you can skip this step (unless you are using a 30-day trial). Follow this [[https:// | + | 3. If you already have Microsoft Visual studios on your computer you can skip this step (the lab computer is setup already), |
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
====Running the "Hello World" code==== | ====Running the "Hello World" code==== | ||
- | Now that you have visual studios and OpenVR on your computer you can finally run the hellow | + | Now that you have visual studios and OpenVR on your computer you can finally run the hello world example. |
1. Open the OpenVR folder and find the samples folder. This is the folder that has all of the example code. | 1. Open the OpenVR folder and find the samples folder. This is the folder that has all of the example code. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
2. Once in go into the hellovr_opengl folder. This is the hello world example of how to use OpenVR. | 2. Once in go into the hellovr_opengl folder. This is the hello world example of how to use OpenVR. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
- | 3. Now find the hellovr_opengl.vcxproj | + | 3. Now find the hellovr_opengl file (the file without extensions) |
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
- | 4. If you haven' | + | 4. If you aren't shown the main cpp code you can find it by expanding the project tree inside the solution explorer. If you haven' |
+ | \\ | ||
+ | {{vive_tut: | ||
\\ | \\ | ||
5. You will now see a matrix of cubes with the same picture on all 6 sides that you are able to walk through using the Vive. | 5. You will now see a matrix of cubes with the same picture on all 6 sides that you are able to walk through using the Vive. | ||
+ | \\ | ||
+ | {{ vive_tut: | ||
+ | \\ | ||
====Final words==== | ====Final words==== | ||
setting_up_openvr.1493760311.txt.gz · Last modified: by keitaronishimura