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 
2min

Three.js

Three.js is a widely used, lightweight, cross-browser, general purpose 3D library written in javascript based on WebGL. Sense of Space Model Streaming is integrated with Three.js, so that you can add Streamable assets to Three.js based web sites, applications and games.

Plugin Structure

The plugin consists of two objects

  • Streamable model
    • A single model being streamed
  • Model streamer
    • A module responsible for handling the streaming of the models
    • The model streamer needs to be notified every frame

In the basic workflow you would start by creating a streamable model by calling createStreamableModel. This will automatically create a model streamer if it's not there yet.

After you've created at least one streamable model, you can get the model streamer by calling getModelStreamer.

To get started see Usage.

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Usage
Docs powered by archbee 
TABLE OF CONTENTS
Plugin Structure