Frank_D Posted April 2, 2021 Share Posted April 2, 2021 Hi~May I know how to get the 6DOF estimation data from VIVE COSMOS using C++? I found there are only materials related to Unity3D and Unreal... So, just wonder how can we get a C++ API. Thanks! Link to comment Share on other sites More sharing options...
HackPerception Posted April 5, 2021 Share Posted April 5, 2021 @Frank_D You're only able to query the pose through OpenVR/SteamVR. There is a C++ native SteamVR lib that you can use to integrate SteamVR devices into custom projects https://github.com/ValveSoftware/openvr/wiki/API-Documentation. 95%+ of VR development is concentrated into Unity and Unreal so there's not a ton of public documentation on custom implementations of the C++ libraries but it's a fairly common setup in the enterprise VR space. In the future, you will likely be able to query the pose from OpenXR directly in a number of ways but for now, you need to use OpenVR/SteamVR. Link to comment Share on other sites More sharing options...
Frank_D Posted April 5, 2021 Author Share Posted April 5, 2021 (edited) OK. I see. Thank you! Actually, I have dived into Unity3D. Yet your lib is not able to work on my VIVE Cosmos... Can you give us more instructions? How can we get the front-facing camera video stream since I wanna develop a AR game. - Vive Cosmos Developer FAQs - Community Forum Edited April 5, 2021 by Frank_D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now