Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to access video feed from stero cameras (VIVE PRO) #66

Open
lgroves6 opened this issue Jan 31, 2019 · 2 comments
Open

Option to access video feed from stero cameras (VIVE PRO) #66

lgroves6 opened this issue Jan 31, 2019 · 2 comments

Comments

@lgroves6
Copy link

lgroves6 commented Jan 31, 2019

Adam Rankin edit:

Access to camera (stereo camera treated as one image, horizontally side-by-side):
https://github.com/ValveSoftware/openvr/blob/master/headers/openvr.h#L4892

1.0.16
https://github.com/ValveSoftware/openvr/blob/v1.0.16/headers/openvr.h#L4537

Camera interface
https://github.com/ValveSoftware/openvr/blob/master/headers/openvr.h#L4007

1.0.16
https://github.com/ValveSoftware/openvr/blob/v1.0.16/headers/openvr.h#L3734

and most importantly, grabbing camera frames
https://github.com/ValveSoftware/openvr/blob/master/headers/openvr.h#L4035

1.0.16
https://github.com/ValveSoftware/openvr/blob/v1.0.16/headers/openvr.h#L3762

@cpinter
Copy link
Collaborator

cpinter commented Jan 31, 2019

This will be awesome!
Please check if the OpenVR version used by the SlicerVR master contains these functions. If not then we'll need to update (I already did not too long ago from 1.0.9 to 1.0.16 which is currently used by the extension)

@jcfr
Copy link
Contributor

jcfr commented Feb 29, 2024

OpenVR

The 1.x version of openvr currently associated with the "OpenVR Backend" is 1.26.71, this means that the function calls described are available.

OpenXR

In the context of the "OpenXR backend", it does not look like there is an extension supporting this:

cc: @LucasGandel

Footnotes

  1. https://github.com/KitwareMedical/SlicerVirtualReality/pull/132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants