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

Delay between head tracking and scene render #142

Open
rubenquidam opened this issue Feb 19, 2022 · 0 comments
Open

Delay between head tracking and scene render #142

rubenquidam opened this issue Feb 19, 2022 · 0 comments

Comments

@rubenquidam
Copy link

Objects placed as children of the camera should look static on screen relative to camera motion (or at least that is my interpretation from reading #121). Instead, when a movement is sharp (e.g. tracking error jumps) the children objects can visually jump some amount, this being more noticeable the closest the object is to the camera. It also causes a small visual lag in general, even with smooth movements and no tracking errors. I'm using monado

My application is a quite unusual setup in where I implement a VR headset within the scene (using viewports very close to the cameras), so I can play with parallax, culling, brightness, etc, for behavioral optometry research. The visual jumps and lag are very amplified in my setup so I tried to work around it by updating the positions of the objects that render the viewports, in relation to the hmd global transform, but I haven't found a way to do it early enough and I get tearing.

Is there a way to ensure object positions are current relative to the arvrcamera, before rendering?

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

1 participant