Third Room Teases User-Generated Content for the Metaverse
The creators of Matrix, an open source chat network, have jumped into the metaverse with Third Room — a web-based client with a UGC editor.
Oct 20th, 2022 7:25am by
Image via Third Room
Third Room, which was created by by Robert Long (formerly of Mozilla Hubs, and before that Altspace VR), promises “open, decentralised, immersive worlds built on Matrix.” Just as Matrix appeals to internet users concerned about privacy and big tech power, Third Room asks us to “imagine a metaverse free from Meta and Facebook where your data isn’t mined and sold to the highest bidder.” Like Matrix, Third Room has “end-to-end encryption.” And just to prove that all forms of commercialization are verboten, cryptocurrencies and NFTs are not part of the Third Room vision.I knew this story didn’t have legs https://t.co/G2SosBKu3p
— mat honan (@mat) October 13, 2022
Third Room Compared to Croquet
Hodgson explained that Third Room “is entirely running in WebGL on a web browser, using a new game engine that we’ve written called Manifold, based on Three.js, which gives just ludicrously good performance.” The product also uses the bitECS entity component system and the Rapier physics engine, and it connects to Matrix via its Hydrogen SDK to provide Matrix chat and VoIP features.
Third Room; image via its website
UGC for the Metaverse
One of the unknowns in the metaverse is how ordinary people will create content in it — a.k.a. user-generated content (UGC). In today’s web, people use blogs and social media apps like Facebook, YouTube and TikTok to create content. There’s been a lot of chatter this year that generative AI software will enable people to easily create 3D content for use in the metaverse. That may well happen, but in the meantime, the Matrix team is working on its own solution for Third Room. Hodgson wants the in-world editing controls in Third Room to be used to create UGC. His colleague Robert Long is running this project. “We’re currently hard at work on this,” he said, “using Wasm sandboxes as the underlying execution environment for UGC, with QuickJS as one UGC scripting environment layered on top (or alternatively Rust, Zig, C, or anything else that can compile down to Wasm). The sandbox will expose at least a scenegraph API to let the UGC manipulate the glTF that makes up the world directly.” Hodgson says Third Room will be releasing the scenegraph API as an open standard, “tentatively called WebSceneGraph or WebSG.” He added that it won’t be specific to Third Room or the Manifold game engine. While I was writing this article, Hodgson emailed me back to excitedly tell me that “we got the [Wasm] engine working and the first ever piece of UGC in Third Room went live.” You can see the short animation below. He also included a code snippet, along with further explanation:
const code = `
${glMatrixText}
const node = new WebSG.Node();
node.position[1] = 1.6;
onUpdate = (dt) => {
glMatrix.quat.rotateY(node.quaternion, node.quaternion, dt * 0.5);
};
`;
await loadJSScript(ctx, code);
The Web’s Place in the Metaverse
One of my hobby horses is ensuring that the web is always part of the conversation when it comes to the metaverse, since some of the primary vendors (like Meta and Epic Games) rarely mention web technologies. Unsurprisingly, Hodgson is bullish on the web. He thinks companies like Meta and Epic Games are aiming for “pure vendor lock.” “They want people to be locked into a binary app, which is their walled garden,” he said. “And also they seem to be bizarrely obsessed with VR, whereas in practice the hardware is still not there. Whereas an experience inside a web browser window is great. If you look at the successful metaverses that exist today, whether it’s Roblox or Minecraft, VR is very much a kind of weird optional experimental thing; and I’m just baffled as to why Meta bet the farm on it.” If the metaverse is going to be the next big platform on the internet, then Hodgson wants there to be decentralized, open source versions of communications software on it — just as Matrix is for the current web. “The reason we built Matrix was to fight the walled gardens for instant messaging and VoIP and provide an open communication for the web. And we see the whole thing potentially happening again before our eyes [with metaverse], with the exception that we’re actually in the game from the outset. And in fact, we’re arguably ahead of some of the gatekeepers for once.”
YOUTUBE.COM/THENEWSTACK
Tech moves fast, don't miss an episode. Subscribe to our YouTube
channel to stream all our podcasts, interviews, demos, and more.