Integrations Guides

Mozilla Hubs

9min


Sense of Space Streaming technology can be integrated to Mozilla hubs. With our Mozilla Hubs component wrapper, you are able to stream large models inside any Mozilla Hubs based applications or projects, being able to showcase and stream large 3D models in both web-desktop and VR. To see it in action, see https://sensehubs.com

Limitations:

The Mozilla Hubs plugin package from https://platform.senseofspace.io/ does not support model preview in Spoke. Our enterprise customers have an access to a version that has a preview of the models in Spoke too.

Prerequisites:

Installation (Hubs)

JS

  • Add the following line to the file gltf-component-mappings.js in your Hubs source files (Hubs/src/gltf-component-mappings.js):
JS


Installation (Spoke)

  • Copy the files from the Sense of Space - Mozilla Hubs plugin package folder in the Spoke directory to the corresponding subdirectory of your own custom Spoke.
  • Add the following lines to imports of src/config.js in your custom Spoke repository:
JS

  • Also, add the following line later in the code of src/config.js:
JS

  • Deploy your newly modified hubs and spoke versions and test.

Now you should see a new element type (Sense of Space Streamable Model) in the Elements menu below the viewport in Spoke.