Fully-featured example: https://playground.babylonjs.com/#HDV7LA
Choosing an avatar and entering a multi-user world.
Audio/video streaming, WebXR, motion tracking and everything else featured on www.vrspace.org home page.
Yes would love to see any documentation you have on this. Iām building a babylonjs VR starter pack, and I definitely want to include multiplayer (see playerās positions) and then also sync world (e.g. if you have a mesh changing, everyone sees how the mesh is changing). Iāve done the first, but not the second. So curious to learn more about what you have going on here. Thank you!
Thanks guys!
Everything is open source. Server and client API/lib written by me, published under Apache 2 license. All content is free, published by respective authors under Creative Commons Attribution license (mostly downloaded from sketchfab).
Itās mostly one-man band, and a handful of early adopters.
So there isnāt much docs and such yet, it all depends on interest of community really, so ask away, and contribute.
Iām progressing towards publishing a node package, could use a helping hand
Wiki: Wiki - VRSpace.org - Redmine
Project page:GitHub - jalmasi/vrspace: VRSpace: Multiuser Virtual Reality Engine
Thatās the point of shared object in first playground here. Left sphere creates a shared dolphin, and anyone can change a single property - start/stop animation. Right sphere creates an owned dolphin, and only owner can change a property - position. In both cases, everyone sees the properties changing right away.
How to do that, you need to āinstallā a custom event handler - function named propertyChanged.
Hopefully playground code makes it easier, if not, just ask.
Thank you!
By default, number of users per space is not limited. There is a server parameter to limit that (maxSessions) that can be specified either in config file or command line. Users that hit the limit remain in the queue for configurable timeout (zero by default) until someone leaves. An error is raised on timeout
Practical limits are a different story, and thatās all about what youāre doing with it, and usually client side imposes the limit. Take this for example: VRSpace:Avatars This loads all 50 characters available on the server, 550MB of content. Works fine on my PC, but kills browsers on android devices, including Oculus.
So the server provides a tool to help with that, EventRecorder, briefly explained starting at 4:45 in this video: VRSpace.org: DIY Multiuser VR for the Web on Vimeo (it does not record audio/video)
Like, record yourself X times to simulate expected situation, measure, debug, optimize.
(note to self - another playground)
@REX_DUNGEUR can you be more specific in what youād like to see? That particular example doesnāt really explain anything, just loads all the content and scripts from vrspace.org.
Regardless, sure Iāll add more, currently Iām working on screen sharing, will add that one over the weekend.
(actually the same playground already includes portal to classroom where you can share your screen, still buggy)