Questions tagged [openvr]

OpenVR is an API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting.

The OpenVR API provides a game with a way to interact with Virtual Reality displays without relying on a specific hardware vendor's SDK. It can be updated independently of the game to add support for new hardware or software updates.

OpenVR was once called the "Steamworks VR API". SteamVR is the related server that runs on the client and implements the OpenVR API for desktop applications to use.

Official SDK is available on Valve Software's GitHub.

Documentation for the API is available in the wiki.

More information on OpenVR and SteamVR can be found on http://steamvr.com

88 questions
7
votes
0 answers

Reading Steam Controller overlay and render it to a VR scene in SteamVR

Background When using a Steam Controller you can configure the touchpads to be complex menus that show up on the screen when you start touching them. These menus are very handy for games with many controls. They look like this: However when…
Scindix
  • 1,254
  • 2
  • 15
  • 32
6
votes
1 answer

How does OpenVR, SteamVR and Unity3D work together?

I am trying to understand the VR platform stack of Vive, and how it's games are developed. I am struggling to understand where exactly does openVR, steamVR and Unity fit into picture. My understanding so far has been that: openVR - Hardware…
Monku
  • 2,440
  • 4
  • 33
  • 57
6
votes
2 answers

How to determine whether a SteamVR_TrackedObject is a Vive Controller or a Vive Tracker

What is the best way to determine whether a SteamVR_TrackedObject is a Vive Controller and a Vive Tracker? When 0 Controllers and 1 Tacker is paired: The Tracker is taken as Controller (right) of the CameraRig. When 1 Controller and 1 Tacker is…
Liam Ferris
  • 1,786
  • 2
  • 18
  • 38
6
votes
1 answer

Cmake doesn't recognize MSVC compiler

It's the first time I encounter this error. I am trying to clone openvr and get the hello opengl sample running, following their instructions: cd samples mkdir build cd build cmake .. -G "Visual Studio 14 2015 Win64"…
elect
  • 6,765
  • 10
  • 53
  • 119
4
votes
3 answers

GLM conversion from euler angles to quaternion and back does not hold

I am trying to convert the orientation of an OpenVR controller that I have stored as a glm::vec3 of Euler angles into a glm::fquat and back, but I get wildly different results and the in-game behavior is just wrong (hard to explain, but the…
Vittorio Romeo
  • 90,666
  • 33
  • 258
  • 416
3
votes
1 answer

QtQuick is not installed properly with Visual C++

We are trying to run OpenVR emulator (link https://github.com/matzman666/OpenVR-InputEmulator) in visual studio 2015. The build is successful. But we are getting the error It seems that Qt library is not installed properly in our machine. We have…
David Silwal
  • 581
  • 5
  • 18
3
votes
0 answers

Does OpenVR pre-process orientation data from Vive Trackers?

According to its specifications (page "11"|14), the Vive Tracker's coordinate system is right-handed Y-Up, X-Lateral, and the reference orientation is somehow determined from the area spanned by the HTC Vive base stations. I am trying to align this…
Sty
  • 760
  • 1
  • 9
  • 30
3
votes
0 answers

Is there a way to hide Vive Controller in the SteamVR lobby?

I'm wondering if there is a way to hide the Vive Controller models in SteamVR Lobby. I'm building an VR overlay app. Which means I have a unity3D project which can access SteamVR and OpenVR APIs etc. Is there something I can do when that project…
Liam Ferris
  • 1,786
  • 2
  • 18
  • 38
3
votes
1 answer

How to add a 3D Overlay for SteamVR

I am trying to use OpenVR Overlay API to overlay a 3d model over the top of another VR application. I have successfully used this API, with some help from this HeadlessOverlayToolkit to overlay planes. I have arranged 6 planes to make a 3d cube and…
Liam Ferris
  • 1,786
  • 2
  • 18
  • 38
2
votes
1 answer

OpenVR: Implementation of virtual API functions (GetProjectionMatrix)

I couldn't find the implementation (aka. source) of the pure virtual functions from the openvr header. I am mainly interested in the GetProjectionMatrix() function. Where I searched (with no results): Simple goole search Searched the repo for the…
The A
  • 188
  • 1
  • 9
2
votes
1 answer

Linking OpenVR through VCPKG via CMAKE

I have Installed OpenVR through vcpkg and am trying to link it via CMAKE, the issue is that I don't know how to do it, nor can I find any info on how to. Unlike other packages where once installed it tells you how to link via CMAKE by using…
games4uall
  • 23
  • 6
2
votes
0 answers

How to export a VR game for linux using Godot?

I'm trying to export a game that use the Godot OpenVr plugin ( https://github.com/GodotVR/godot_openvr ). I am capable of testing the game through the editor by launching Godot with the command given in Github…
Double Sept
  • 154
  • 1
  • 10
2
votes
1 answer

SteamVR override Controller inputs?

I want to override my controller inputs. Like swapping controller button actions for example. My approach was creating a custom controller using OpenVR, but then I cannot retrieve my controller inputs and feed them to the controller I created. I…
Aimkiller
  • 263
  • 1
  • 5
  • 13
2
votes
1 answer

Refresh rate of pose of Base Station in OpenVR

I am able to get the position of the base stations but this only updates once, while controllers and HDM are constantly updated. Is there a way to force the refresh so that I can get the position of the base stations (trackingreference) in…
piede
  • 39
  • 4
2
votes
1 answer

OpenVR: Obtaining direction vector from Pose transformation matrix

I'm trying to find the direction in which my oculus touch controller is pointing at any given point in time in OpenVR. (The direction in which you would render a ray pointer from the controller) I am using the following function…
A Singh
  • 21
  • 1
1
2 3 4 5 6