https://github.com/anzerr/vr.screenshot
Example project on how to get eye render data from openvr
https://github.com/anzerr/vr.screenshot
example indexvr openvr screenshot stream view
Last synced: 2 months ago
JSON representation
Example project on how to get eye render data from openvr
- Host: GitHub
- URL: https://github.com/anzerr/vr.screenshot
- Owner: anzerr
- Created: 2020-05-17T18:09:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T18:21:33.000Z (almost 6 years ago)
- Last Synced: 2025-02-26T07:35:59.173Z (over 1 year ago)
- Topics: example, indexvr, openvr, screenshot, stream, view
- Language: C++
- Homepage:
- Size: 5.59 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### `Intro`
This is a project that uses OpenVR to take two screen shots one of the left eye and one for the right eye.
This is an example of how to get the eye data. I don't know if this is remotely a good way of going about it this is the first time in ages that have touched c++.
I needed this as a first step in a future project I'm working on and thought it be usefull to have a simple/short example for anyone looking for something similar.
#### `Usage`
This needs libs found at [here](https://github.com/ValveSoftware/openvr) it needs
- [openVr/lib/win64/openvr_api.lib](https://github.com/ValveSoftware/openvr/blob/master/lib/win64/openvr_api.lib)
- [x64/Release/openvr_api.dll](https://github.com/ValveSoftware/openvr/blob/master/bin/win64/openvr_api.dll)
- [openVr/openvr.h](https://github.com/ValveSoftware/openvr/blob/master/headers/openvr.h)
Those are the files the project needs. Is these a better way of handling this?
Open the project in [visual studio](https://visualstudio.microsoft.com) and from there you should be able to build the project or run it in debug.
You'll need steam vr to be running at the same time.
#### `Images`