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
1
vote
1 answer

OpenVR. Rendering in OpenGL without SDL

Is this possible in nature? What role of SDL library in OpenVR API? Does it needed for OpenGL context or only for mirroring the stereo image to SDL window?
drewpts
  • 446
  • 1
  • 5
  • 20
1
vote
1 answer

Call dll functions with only pointer

I am trying to use openVR dll from delphi. However, this dll got only limited function exported, a lot of function is stay inside interfaces. since there are some samples for using openVR, so I take a look at c version header and a c# version…
Mengchao
  • 81
  • 7
1
vote
2 answers

Which headset are supported by OpenVR

I was wondering, without any additional driver, just with the compiled library. I searched but didn't find any clear answer Thanks
Tribes
  • 35
  • 1
  • 7
1
vote
1 answer

Openvr get magnetometer data

I am trying to get the Magnetometer data from the HTC VIVE using openvr lib. Any help and direction will be appreciated. It will be ideal if i can access this in Unity.
Elololex
  • 41
  • 5
0
votes
0 answers

OpenVR direct mode prevent stand by mode

Currently I am using "vr::IVRDriverDirectModeComponent" for my driver and I have no tracking device at the moment. I simulate the vr environment via giving monitor manufacturer and product id for the Display/Direct mode. Due to there is no tracking…
Roveldo
  • 47
  • 4
0
votes
0 answers

Is it possible to run OpenVR code on an HTC Vive without SteamVR?

I wrote some code to track controller poses using OpenVR. The problem is that SteamVR is generally very annoying to have running in the background. I tried to switch to OpenXR. The Problem seems to be the runtime to interface with the HTC Vive (also…
0
votes
0 answers

Troubles compiling openvr_capi application

I am trying to write an OpenVR application using the openvr_capi.h file, and I'm having trouble linking all the files together. The program: #include #include #undef EXTERN_C #include intptr_t …
Gpopcorn
  • 13
  • 1
  • 5
0
votes
0 answers

OpenVR directx11 direct mode driver image present flickering

I have two images, image A and image B. I am trying to display them sequentially on top of the submitted layers so it looks like this. Acquire submitted layer from OpenVR Overlay image A on top of the submitted layer Present Acquire submitted layer…
Roveldo
  • 47
  • 4
0
votes
0 answers

error CS0234: The type or namespace name 'InteractionSystem' does not exist in the namespace 'Valve.VR' (are you missing an assembly reference?)

https://github.com/googlevr/tilt-brush#enabling-native-oculus-support If you open this project (Unity Version 2018.4.11f1) and upgrade to 2020.3.33f1 CS0117: 'VREditor' does not contain a definition for 'GetVREnabledDevicesOnTargetGroup' The above…
9 R
  • 1
  • 4
0
votes
0 answers

In Visual Studio, After passing parameters by pointer or reference of visual studio function, the access parameter value in the function is null

This is the main code where error happened: void VRInputRemapping::DigitalInputConfig() { bool orginput = this->curVRConfig->GetorgDigitalInput(); uint32_t deviceId = this->curVRConfig->GetcurDeviceId(); uint32_t buttonId =…
a zou
  • 11
  • 1
0
votes
1 answer

Window for OpenVR with Vulkan needed?

When using vulkan and OpenVR for a game, do I need to create and open a window to make it work or can i just Submit the image to OpenVR?
MineLPPhynix
  • 121
  • 2
  • 5
0
votes
1 answer

Getting OpenVR tracking quality without SteamVR

Is it possible to get real-time data about the HMD tracking quality via OpenVR? In SteamVR you can see a warning when your headset if not being tracked correctly. Is it possible to get that info via OpenVR API only?
piede
  • 39
  • 4
0
votes
1 answer

What's the easiest way to draw a sphere at a certain coordinate with PyopenVR?

No texture required, pure color is ok, radius also doesn't matter
Noob
  • 103
  • 9
0
votes
1 answer

OpenVR Teleportation Problem (Forward direction calculation)

So I am trying to implement teleportation in my VR application (not in Unity). I am able to get the pose matrices for each controller from if (auto error = vr::VRInput()->GetPoseActionDataForNextFrame(hand[eHand].pose_handle,…
0
votes
1 answer

How should I get the absolute path of a configuration file to be published alongside a windows .exe?

I'm making a windows application in C++. There's an API which requires a configuration file, and also the absolute path of that configuration file. ( https://github.com/ValveSoftware/openvr/wiki/Action-manifest ). I would have an easier time…
Phildo
  • 986
  • 2
  • 20
  • 36