-
-
Notifications
You must be signed in to change notification settings - Fork 382
docs(XR): add WebXR volume rendering example #2449
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
cc @PaulHax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Very nice! +1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nifty!
14f9668
to
87bcb85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome!
🎉 This PR is included in version 24.16.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Context
Adds a basic example to demo volume rendering in VR/AR with WebXR.
Similar to "VolumeViewer" example but with reduced UI components for simplicity. ".vti" files can be provided with "fileURL" parameter.
The clipping range is set to a very large span by default so that the initial volume is always visible in AR. There are lingering issues with the camera clipping range when using WebXR that are not addressed in this PR.
Results
Inline
AR
VR
Changes
PR and Code Checklist
npm run reformat
to have correctly formatted codeTesting
master
Closes #2322 .