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

How do I reduce the view to 3 degrees of freedom, pitch roll and yaw? #6

Open
patch6 opened this issue Jul 4, 2019 · 5 comments
Open

Comments

@patch6
Copy link

patch6 commented Jul 4, 2019

I've managed to get the project working (using these instructions: https://pastebin.com/Yj0Q8h2L) but the viewpoint seems to be drifting up and down, and turning around so much it's nauseating. How can I fix this?

Mainly I want to make the driver use 3 degrees of freedom, not 6. Also want a view as stable as my head is.

@alatnet any ideas where I can start to debug this? Would greatly appreciate help.

@alatnet
Copy link
Owner

alatnet commented Jul 4, 2019

DriverPose_t COpenPSVR_HMDDeviceDriver::GetPose() {

The "DriverPose_t COpenPSVR_HMDDeviceDriver::GetPose()" section is where all of the "magic" happens.
I currently have absolutely no clue how to convert the data input into correct 3DOF motion for steam vr.
I've tried multiple different integrators with little success which is why i basically stopped working on this.

@patch6
Copy link
Author

patch6 commented Jul 4, 2019

Okay, thank you, I'll poke around in there.

Is the dev branch older than the master branch? I got the project working with the dev branch.

@alatnet
Copy link
Owner

alatnet commented Jul 4, 2019

i believe the dev branch might be older.
though it's not that much different. probably some bug fixes or "adding" camera support.

@patch6
Copy link
Author

patch6 commented Jul 4, 2019

Ah, I was actually using the master branch. The dev branch in-game viewpoint is -much- more stable and less nausea inducing, but I see that the head movements don't translate to proper in-game movements. It's much more comfortable to poke around with though.

Thank you for the work you've put together @alatnet! I hope to be able to contribute to this project eventually.

@alatnet
Copy link
Owner

alatnet commented Jul 4, 2019

Np. Glad to have help with this.

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

No branches or pull requests

2 participants