Skip to content

Conversation

@dcerisano
Copy link

Headtracking directly from the sensor quaternion is too sensitive (jitter - but still not as bad as Unity!).
This update uses spherical interpolation to significantly improve the subjective experience of headtracking. Pretty sure Oculus does this.

It agressively slerps from previous to current tracking position. Tried various slerp values, but this one corrects the jitter without inducing lag. Could be used as default value.

TODO: drift correction.

Headtracking directly from the the sensor quaternion is too sensitive.
This update uses spherical interpolation to significantly improve the behavior of headtracking.
It simply slerps from previous to current tracking position.
TODO: drift correction.
@dcerisano dcerisano changed the title Update RajawaliVRRenderer.java Slerped head tracking for RajawaliVRRenderer.java Dec 18, 2014
@dcerisano dcerisano changed the title Slerped head tracking for RajawaliVRRenderer.java Slerped head tracking for RajawaliVRRenderer.java to remove sensor jitter. Dec 18, 2014
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

Successfully merging this pull request may close these issues.

1 participant