ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.08k stars 1.28k forks source link

How to obtain user's attitude information and perspective information #1439

Open LouHan-0325 opened 4 years ago

LouHan-0325 commented 4 years ago

I am a novice at openVR and I want to obtain user's attitude and perspective information.Which module can be applied?

Thanks for any help.

BOLL7708 commented 4 years ago

Are you talking about a BCI solution to read actual brain activity, or is it a misspelling of altitude and refering to a user's physical perspective, meaning their head pose? Just not sure what you are asking for here, and if it is the prior perhaps not the right forum for it? 😅

LouHan-0325 commented 4 years ago

Are you talking about a BCI solution to read actual brain activity, or is it a misspelling of altitude and refering to a user's physical perspective, meaning their head pose? Just not sure what you are asking for here, and if it is the prior perhaps not the right forum for it? 😅

I‘m sorry that perhaps it's a misspelling. I mean that I want to obtain user's head pose information and their viewpoint position.

BOLL7708 commented 4 years ago

The head pose can be retrieved directly from the OpenVR API, do you have any specific needs when it comes to language etc? I've made data retrieval applications for years now, and the latest public one returns pose data as JSON via WebSockets, not sure if that's helpful. Asking for a module makes it sound like this is for integration in some project though?

LouHan-0325 commented 4 years ago

Yes, I want to get the user's viewpoint position in order to transmit high resolution video tiles in user's FOV. So can I get head pose through IVRCompositor::WaitGetPoses? or some fuction else?