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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support left & right eyes #1697

Merged
merged 4 commits into from
May 29, 2024
Merged

Support left & right eyes #1697

merged 4 commits into from
May 29, 2024

Conversation

xiaoiver
Copy link
Contributor

@xiaoiver xiaoiver commented May 26, 2024

馃 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃敆 Related issue link

Use 2 render list for both left & right eyes.

Since we can't modify projectionMatrix according to Spec, we have to flipY with viewMatrix.

It is strongly recommended that applications use this matrix without modification or decomposition.

https://immersive-web.github.io/webxr/#dom-xrview-projectionmatrix

https://github.com/mrdoob/three.js/blob/master/src/renderers/webxr/WebXRManager.js#L610

馃挕 Background and solution

鎴睆2024-05-26 涓嬪崍4 05 42

馃摑 Changelog

Language Changelog
馃嚭馃嚫 English
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@xiaoiver xiaoiver merged commit 83b9bbc into release May 29, 2024
2 of 3 checks passed
@xiaoiver xiaoiver deleted the fix-webxr branch May 29, 2024 08:07
xiaoiver added a commit that referenced this pull request May 29, 2024
* Support left & right eyes (#1697)

* fix: support left & right eyes

* chore: commit changeset

* fix: add hit-testing

* chore: commit changeset

* chore(release): bump version (#1700)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

None yet

1 participant