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

Stop LERPing views #81

Merged
merged 1 commit into from Nov 6, 2019
Merged

Stop LERPing views #81

merged 1 commit into from Nov 6, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Nov 5, 2019

Tested on hololens, works.

The hololens exposes a VIEW space which we can use to calculate viewer poses, instead of LERPing the eyes. This shouldn't have any visible behavioral differences.

It's not clear to me if this is faster, since now we query poses twice in the render loop; we still need the LOCAL poses to compute the projection views. We may be able to use VIEW poses there instead, i'm not sure. It's not clear to me why openxr needs this information.

Draft PR because it doesn't yet compile against master due to surfman issues, and i need to do some cleanups.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

The latest upstream changes (presumably #85) made this pull request unmergeable. Please resolve the merge conflicts.

@Manishearth Manishearth force-pushed the Manishearth:no-lerp branch 2 times, most recently from 234ca1b to 118b726 Nov 6, 2019
@Manishearth Manishearth marked this pull request as ready for review Nov 6, 2019
@Manishearth Manishearth force-pushed the Manishearth:no-lerp branch from 118b726 to 2bc6dd1 Nov 6, 2019
@Manishearth Manishearth force-pushed the Manishearth:no-lerp branch from 2bc6dd1 to 604a68a Nov 6, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Nov 6, 2019

@asajeffrey
Copy link
Member

asajeffrey commented Nov 6, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

📌 Commit 604a68a has been approved by asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

Testing commit 604a68a with merge f680689...

bors-servo added a commit that referenced this pull request Nov 6, 2019
Stop LERPing views

Tested on hololens, works.

The hololens exposes a VIEW space which we can use to calculate viewer poses, instead of LERPing the eyes. This shouldn't have any visible behavioral differences.

It's not clear to me if this is faster, since now we query poses twice in the render loop; we still need the LOCAL poses to compute the projection views. We may be able to use VIEW poses there instead, i'm not sure. It's not clear to me _why_ openxr needs this information.

Draft PR because it doesn't yet compile against master due to surfman issues, and i need to do some cleanups.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

☀️ Test successful - checks-travis
Approved by: asajeffrey
Pushing f680689 to master...

@bors-servo bors-servo merged commit 604a68a into servo:master Nov 6, 2019
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.