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

feat(WebXR): Add initial support for WebXR viewing with VTK.js #438

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tbirdso
Copy link
Contributor

@tbirdso tbirdso commented Sep 26, 2023

Adds initial support for viewing VolView scene in WebXR on the local device. Note that performance may vary widely across devices.

Depends on updates to VTK.js WebXR rendering structures in Kitware/vtk-js#2924 .

Opening as a draft PR for discussion and feedback. Note that rendering performance may vary highly across platforms. We may want to explore optimization improvements for VTK.js WebXR rendering and/or disable some XR platform options in VolView for the initial merge.

Many thanks to @PaulHax and @floryst for helping me with VolView development 🚀

IMG-8702

Suggested remaining TODOs:

  • Explore removing the Looking Glass overlay. May require contributing a config flag to the Looking Glass WebXR polyfill.
  • Test tethered VR rendering
  • Test mobile VR/AR rendering
  • Disable XR options with inadequate performance for now

@netlify
Copy link

netlify bot commented Sep 26, 2023

Deploy Preview for volview-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c4eec76
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/655394b277f2330008ac11ae
😎 Deploy Preview https://deploy-preview-438--volview-dev.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tbirdso
Copy link
Contributor Author

tbirdso commented Sep 26, 2023

cc @PaulHax @floryst

@tbirdso
Copy link
Contributor Author

tbirdso commented Oct 27, 2023

Note that we have observed an issue on Firefox where VolView appears to initially grab the orientation box render window rather than the volume rendering render window for its view proxy. Suggest testing on Chrome or Edge browsers instead.

Adds initial support for viewing VolView scene in WebXR on the local
device. Note that performance may vary widely across devices.
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