website logo
Contact Us
⌘K
🌐Sense of Space
Introduction
📶3D Streaming System
Introduction & Benefits
Client Implementations
Technical Limitations
Server Requirements
🧊3D Streaming Platform
Upload and Convert a 3D Model
How to Use the Conversion API
🧩Integrations Guides
🤖Unreal Engine
🕹️Unity Engine
🦊Mozilla Hubs
✴️PlayCanvas
🔺Three.js
🅰️A-Frame
🔶Babylon.js
🌍Embed to an HTML page
⚛️Extras
Volumetric Video Integrations
Docs powered by archbee 
13min

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

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:

  • Custom Mozilla Hubs client (available in https://github.com/mozilla/hubs)

  • Custom Mozilla Hubs Spoke (available in https://github.com/mozilla/Spoke)

  • Sense of Space - Mozilla Hubs plugin package from https://platform.senseofspace.io/

Installation (Hubs)

  • 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:
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.

Updated 04 Oct 2022
Did this page help you?
Yes
No
UP NEXT
PlayCanvas
Docs powered by archbee 
TABLE OF CONTENTS
Limitations:
Prerequisites:
Installation (Hubs)
Installation (Spoke)