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

VR Renderer Tag #37

Open
tparisi opened this issue Jan 5, 2015 · 5 comments
Open

VR Renderer Tag #37

tparisi opened this issue Jan 5, 2015 · 5 comments
Milestone

Comments

@tparisi
Copy link
Owner

tparisi commented Jan 5, 2015

Currently done using a <renderer> tag.

Should this be in a <meta> tag or other construct instead? It's not very webby to put the rendering choice in a tag. Simple, but not elegant. Think of other ways to do it.

Also, should this just be a "VR" rendering mode instead of "Cardboard" or "Rift" ? (Probably)

@tparisi tparisi added this to the Alpha 2 - VR milestone Jan 5, 2015
@psema4
Copy link

psema4 commented Jan 20, 2015

Haven't tried using multiple renderers on a single scene (or multiple scenes on a page); I'm wondering if a renderer attribute on the scene tag would work?

<scene renderer="vr">
    <stuff/>
</scene>

@tparisi
Copy link
Owner Author

tparisi commented Jan 20, 2015

@psema4 yes I've been thinking about that or actually on the top-level glam element itself... it wouldn't make much sense (to me) to mix renderers in one document.

This may also end up going into a meta tag. I'm open to suggestions.

@psema4
Copy link

psema4 commented Jan 20, 2015

Edited for clarity

Hypothetical use-case for multiple renderers: combining glam with WebRTC (p2p for the web) may allow peers to act like thin-clients.

In addition to the usual renderer (say of type="vr") the browser tab on the most-powerful machine (the application host)[1] could have a non-"vr" renderer connected to an outgoing WebRTC video stream.

The browser tab acting as the application host does the actual glam work & application processing. Other users and/or browsers and/or tabs (and/or chromecasts[2]) connected to the app watch the action; they might also communicate with the host using data channels, enabling massively-p2p experiences such as games[3] or tools[4]

[1] in practice the application host would more likely be the first browser tab to open the app
[2] also uses WebRTC; see also - Chromecast apps
[3] perhaps each spectator (website visitor) increases the difficulty of a level?
[4] real time collaborative world editing à la Cloud 9, Etherpad et al

@tparisi
Copy link
Owner Author

tparisi commented Jan 26, 2015

@psema4 I think I would do the multi-player WebRTC scenario differently, via API. I have now folded the whole Vizi framework directly into GLAM, essentially as the "GLAM engine." We could add network components to the engine, and use those to implement synchronizing scenes. Those components could be thin-client peer or client-server. I think this is a better way to go for multi-user apps.

@tparisi
Copy link
Owner Author

tparisi commented Jan 26, 2015

Folks for now I'm going to put this issue into the backlog; not necessary to have it figured out for the Alpha 2-VR milestone.

@tparisi tparisi removed this from the Alpha 2 - VR milestone Jan 26, 2015
@tparisi tparisi added this to the Backlog milestone Feb 4, 2015
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

No branches or pull requests

2 participants