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 12:04] – 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: [email protected] | ||
+ | \\ | ||
+ | **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> | ||
| | ||
+ | \\ | ||
+ | | ||
</fc> | </fc> | ||
Line 22: | Line 27: | ||
| | ||
| | ||
- | + | | |
- | ==== Parts Lists and Soucres | + | ==== 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 31: | Line 36: | ||
|Tripod mounts for lighthouse base stations| Amazon or build in-house | https:// | |Tripod mounts for lighthouse base stations| Amazon or build in-house | https:// | ||
+ | ====Downloading OpenVR==== | ||
+ | OpenVR is a [[https:// | ||
+ | \\ | ||
+ | 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. | ||
+ | \\ | ||
+ | {{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 " | ||
+ | \\ | ||
+ | {{vive_tut: | ||
+ | \\ | ||
+ | |||
+ | 3. If you already have Microsoft Visual studios on your computer you can skip this step (the lab computer is setup already), unless you are using a 30-day trial. Follow this [[https:// | ||
+ | \\ | ||
+ | {{vive_tut: | ||
+ | \\ | ||
+ | |||
+ | ====Running the "Hello World" code==== | ||
+ | |||
+ | 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. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
+ | \\ | ||
+ | |||
+ | 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 file (the file without extensions) and open it with visual studio. | ||
+ | \\ | ||
+ | {{vive_tut: | ||
+ | \\ | ||
+ | |||
+ | 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. | ||
+ | \\ | ||
+ | {{ vive_tut: | ||
+ | \\ | ||
+ | ====Final words==== | ||
+ | |||
+ | This tutorial' | ||
+ | SDK. | ||
+ | \\ | ||
+ | The reader can now move on to the next tutorial which will teach the reader how to set up a visual studio environment for development using the OpenVR SDK and how to use the Vive controllers to move a Dynamixel servo. |
setting_up_openvr.1493751859.txt.gz · Last modified: 2017/05/02 12:04 by keitaronishimura