Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

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. (Will automatically load if These settings will be automatically applied when the object is loaded back into the scene)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 (x,y,z)in the X, Y, and Z axes.

0.1x - Scale factors of by 0.1-1.

10x - Scale factors of 1-by 10.

100x - Scale factors of 10-by 100.

Rotate - Quick rotate buttons.

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

...

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

Start Streaming - Allows for the Model Viewer to be controller controlled from ICE Igloo Control Panel with a mouse and keyboard and the same controls. This will need to be setup as an app in ICE Control Panel as a custom browser in custom_browers.json:

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

And in the config.json:

Code Block
    "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

UI.

...

Watch Folder

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

Command Line Arguments

You can add command line arguments to the .exe for the model viewer to specify loading a model as soon as the application is openedspecify the path to a model file using a command line argument when starting up the Model Viewer. To do this simply , add the “-loadModel” argument, followed by the path of the model you want to open. e.g:
-loadModel "C:\ModelViewer\ModelViewer-0.22\Igloo3DModels\Architecture\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 (not tested). To create you 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.

Code Block
{
  "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.

...

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:

Code Block
    "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:

Code Block
    "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