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 

SxrWebModel

2min



The SxrWebModel script represents one model that has been uploaded and converted, and is available in the cloud for streaming. An SxrWebModel component always needs a reference to an SxrWebStreamController component to function.

The Source Url parameter needs to be the url to the sxrweb file. IE. https://stream.senseofspace.io/demos/space-shuttle-new/model.sxrweb, or https://stream.senseofspace.io/demos/space-shuttle-new/ (without the file extension, it will be resolved automatically).

You can use these test data URLs for demo testing the Unity Plugin:

  • https://stream.senseofspace.io/demos/space-shuttle-new/
  • https://stream.senseofspace.io/demos/apollo-temple/
Document image




The next parameters are the Materials. More info about that can be found in the Materials paragraph. The Regular opaque material and the transparent material are separated because semi transparent materials have much more overhead. 

The Override Level can be put to one if a model is very large (more than 5M triangles) and be put to one to make everything always render in slightly lower quality. This parameter will be removed in the future, and the process will be automated, but if you already wish to stream massive environment maps right now you can put it to 1.

The Normals parameter decides the source of the normal data, the normal map option is not currently available, but will be made available in later releases.

The flags for the different texture channels (Emissive, Metallic-Roughness, Occlusion and Alpha) enable and disable certain texture maps. If you want to use the metallic roughness channel in your shader you have to enable the option. This way we can avoid downloading, decompressing and storing textures that are not used.

Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
SxrWebStreamController
NEXT
SxrWebModelDebugger
Docs powered by archbee