Mozilla Hubs
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
The wrapper is based on the tutorial here: https://github.com/mozilla/Spoke/blob/master/docs/creating-custom-elements.md
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.
- Copy the latest (0.0.11) version of the Sense of Space Streamable model AFrame component (e.g. https://assets.senseofspace.io/streamablemodel/0.0.11/sosStreamableModelAframe.js) to your Hubs components folder (e.g. c:/dev/hubs/hubs/src/components/sosStreamableModelAframe.js)
- Add the following line to scene-components.js in the same folder:
- Add the following line to the file gltf-component-mappings.js in your Hubs source files (Hubs/src/gltf-component-mappings.js):
- 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:
- Also, add the following line later in the code of src/config.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.