-
Notifications
You must be signed in to change notification settings - Fork 0
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
Review #1
base: review
Are you sure you want to change the base?
Conversation
set_order: 16 | ||
--- | ||
|
||
Reality Tabs are `xr-iframes` which are like `iframes` but will extra spatial attributes like `position`, `scale`, `orientation`. |
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.
Something like:
Much like
iframe
s drawn on a 2d page,xr-iframe
s are 3d sites drawn in a 3d space.
xr-iframe
works with any site or engine that uses WebXR or WebVR.
A high quality video would be good here.
import('https://web.exokit.org/src/index.js')) | ||
.then(() => { | ||
// Create xr-iframe, define src attribute, and append/place it wherever you want as if it was a normal canvas | ||
const xrIframe = document.createElement('xr-iframe'); |
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.
Maybe we should call this an xr-scene
? It is different from the xr-iframe
in usage.
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.
That makes sense conceptually, since it is possible to render multiple scenes in something like threejs.
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.
Unlike three though, they would basically be completely separate.
No description provided.