Skip to main content Link Search Menu Expand Document (external link)

Stream 3D objects to the OMS as overlay

The system can stream 3D content as an overlay from any of the cameras in the scene. This can be viewed from the OMS web interface.


Table of contents

  1. Prerequisites
  2. Set Unity as DGS
  3. Enable Unity to run in the background
  4. Only Game-Objects in the “Water” layer are streamed
  5. Open the OMS web-gui and enable the hologram view for the camera

Prerequisites

Make sure the SDK is in the scene (drag the prefab).

There should be a single dedicated game server (DGS) in the network.

Set Unity as DGS

Set the Platform as a PC. Tick on the “Is Dedicated Game Server” box. inside the “Service Manager” component.

Enable Unity to run in the background

By default unity project is paused when it is not the active window. Since this is not a preferred behavior for a server, the “run in background” option should be enabled.

Project Settings -> Player tick the checkbox for “Run In Background”.

Only Game-Objects in the “Water” layer are streamed

By default, all game objects which belong to the “Water” layer are streamed.

If you wish the other objects (besides the characters) are streamed to the OMS, make sure they are in the “Water” layer.

You can select which layers are rendered and shown in the OMS.

In the Unity SDK. Under the “Render Service” component, you can choose which layers should be rendered. If you wish to change the layers which are rendered, change the values in the “render Camera Culling Mask” field.

Open the OMS web-gui and enable the hologram view for the camera

Open the OMS web application. Click on a camera to view the feed in the web-gui.

You can enable the holograms by clicking on the button which is above the upper-right corner of the camera feed.