Skip to content

How to use

Cédric Vautrain edited this page Jan 26, 2021 · 17 revisions

Contents

Starting configuration

Config file

In the "OGREE 3D_Data" folder, we can find "config.json".

Name Value Comment
verbose true or false
fullscreen true or false
textures name:path can be a local file or an url
db_url url

Command line arguments

Each config file parameter can be overrided with a command line argument

--verbose [true|false]
--fullscreen [true|false]
--serverUrl [url]

You can also start the client with an .ocli file:

--file [path to ocli file to load]

Populate objects

To populate object, you can either load a .ocli file with CLI commands written in it or type them directly on the build-in CLI.
Details about the CLI langage: https://github.com/ditrit/OGREE-3D/wiki/CLI-langage.

Object hierarchy

We have to respect this object hierarchy in order to populate objects.

Tenant
 |_ Site
     |_ Building
         |_ Room
             |_Rack
             |  |_ Device
             |  |   |_ Sub-device
             |  |   |   |_ Sub-device
             |  |   |   |_ Sub-device
             |  |   |_ ...
             |  |_ Device
             |  |_ ...
             |_ ...
Clone this wiki locally