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

Review #1

Open
wants to merge 1 commit into
base: review
Choose a base branch
from
Open

Review #1

wants to merge 1 commit into from

Conversation

avaer
Copy link
Member

@avaer avaer commented Sep 5, 2019

No description provided.

set_order: 16
---

Reality Tabs are `xr-iframes` which are like `iframes` but will extra spatial attributes like `position`, `scale`, `orientation`.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like:

Much like iframes drawn on a 2d page, xr-iframes 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');
Copy link
Member Author

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.

Copy link
Contributor

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.

Copy link
Member Author

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.

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.

2 participants