Document toolboxDocument toolbox

Private & Confidential

(1.4.0) Igloo Model Viewer Pro

The Igloo Model Viewer Pro is a Unity-based application which has been designed to import, display and explore 3D models in an Igloo immersive space.

Requirements

An annual subscription license is required.

Formats

The model viewer supports OBJ, FBX and GLTF/GLB file formats.

Features

The application window appears as shown below, with menu items on the left hand side and model preview on the right hand side.

image-20240509-130728.png

Load Model from File - Loads the desired 3D model from a location on the server. After clicking the button, you will be shown a file browser to select the desired file.

Load Model from URL -

Save Placement - Saves the rotation and scale of an object. These settings will be automatically applied when the object is loaded back into the viewer.

Load Skybox from File - Load a HDRI file (.hdr) as the skybox.

Clear Skybox - Unload the skybox file.

Object Scale - Change the scale of the object uniformly in the X, Y, and Z axes.

0.1x - Scale by 0.1.

10x - Scale by 10.

100x - Scale by 100.

Rotate - Quick rotate buttons.

X - Spin the object in the X axis 90 degrees.

Y - Spin the object in the Y axis 90 degrees.

Z - Spin the object in the Z axis 90 degrees.

Start Streaming - Allows for the Model Viewer to be controlled from Igloo Control Panel with a mouse and keyboard and the same UI.

image-20240503-115351.png
Example Render Streaming Output

Watch Folder

A watch folder can be setup in “C:\Program Files\Igloo Vision\Model Viewer Pro” so that a model will be automatically loaded after it has been copied into that folder. Create a new folder and call it “WatchFolder”.

Command Line Arguments

You can specify the path to a model file using a command line argument when starting up the Model Viewer. To do this, add the “-loadModel” argument, followed by the path of the model you want to open. e.g:
-loadModel "C:\ModelViewer\hintze_hall\scene.gltf"

Templates

Templates can be used to set specific rotation, scale or translation values to an object whenever it is imported. This is useful when a consistent transformation is needed in the workflow between Model Viewer and another application. To select a template simply use the drop down box and select from a existing one. To create your own, navigate to the StreamingAssets folder, and open an existing template, alter the values as necessary, and save it under a new template name. The template must be save with “config_” first. e.g: “config_[Your_Template_name].json”. The drop down box in Model Viewer Pro will auto populate with any files saved this way.

{   "scale": {"x": 1, "y": 1, "z": 1},   "rotation": {"x": 0, "y": 90, "z": 0},   "translation": {"x": 0, "y": 0, "z": 0} }

Controls

Movement - As is with every other Igloo application.

Right click / B button - Change movement mode. Pressing it once will update the cursor to correlate to the mode. Pressing it will swap to the next mode and loop back to the start when no more modes are available.

Standard - Aim where you want to go.

Wrap - Change the wrap position by pointing left or right.

Orbit - Move round the object in an orbit mode.

Streaming Setup

This requires setup in Igloo Control Panel as a custom browser called ModelViewerPro in custom_browers.json:

    "ModelViewerPro": {       "name": "Model Viewer Pro",       "url": "$remoteIP/receiver/index.html",       "https": false,       "icon": "$ai/image.png",       "description": "Model Viewer Pro"     }

And include ModelViewerPro in the apps list in the config.json:

    "apps": [       "matterport",       "streetview",       "warping",       "default",       "modelViewer",       "openStageControl",       "blockade",       "ModelViewerPro"     ],

A web server will start automatically when you press start streaming which is located here:

C:\Program Files\Igloo Vision\Model Viewer Pro\Model Viewer Pro_Data\Managed\webserver.exe

(c) Igloo Vision 2020