Comments (5)
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>
from glam.
@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.
from glam.
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
from glam.
@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.
from glam.
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.
from glam.
Related Issues (20)
- Rename <cube> to <box>
- View Events HOT 1
- Document all the tags that are available HOT 2
- Get rid of jQuery dependency. HOT 2
- Tutorial / Offical Website HOT 6
- Project Page Redesign HOT 1
- Documentation - User Guide HOT 3
- GLAM as Web Components HOT 2
- Separate website to gh-pages and remove it from master. HOT 1
- VR UI Components
- Responsive Layout for Docs HOT 2
- Responsive Layout for Project Page HOT 4
- trouble getting controller type FPS to work HOT 5
- dynamic setting of .textContent isn't implemented
- head tracking on chrome skew the sky picture
- How to import a rigged object and then animate it using tags or animation kf
- autoVR for renderer and controller - switching normal mode and VR mode.
- How to play a animation with js after glam ready?
- Are planning to enable html content as texture ? HOT 3
- Is exporting to dae/collada planned ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glam.