# Control Center

CGI Studio Control Center integrates all the tools of the CGI Studio product chain. For new users it provides a dashboard from which to start Scene Composer, the Player, and the Analyzer, as well as from which to build SCHost/the application with the click of a button.  
For advanced users it is also possible to edit and build CGI Panel, as well as adjust data bindings and Courier definitions. For clients with complex processes, Control Center allows for the changing and customizing of scripts used in the above operations in response to the client’s needs.  
All this information is stored in a Control Center solution that is specific to a certain application/SceneComposer solution, making it easy to share between multiple users.

# Control Center Welcome Screen

To open the CGI Studio Control Center double-click "ControlCenter.exe", which can be found in the "ControlCenter" folder in the bin directory.

<div drawio-diagram="7778"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736921401.png" alt="drawing-4-1736921401.png"/></div>

<div class="contents" id="bkmrk--0"><div class="contents">  
</div></div>In the top left section, the Welcome page offers the possibilities to run Scene Composer, the Player (CGI Panel) or the CGI Studio Analyzer.  
Before clicking the "Scene Composer" button to open Scene Composer, please choose your preferred platform. To do this, open the drop-down menu with the little arrow on the bottom right of the button (marked in orange in the image below).

<div drawio-diagram="7779"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736921437.png" alt="drawing-4-1736921437.png"/></div>

<div class="contents" id="bkmrk--4"><div class="contents"><div class="textblock">---

</div></div></div>#### Create a new Solution

As shown in the image below, it is possible to create a CGI Studio Control Center Solution:  
Select a location and a name for your solution, then choose a platform and a Render API. Select a template from the list of available Scene Composer solutions in the section below (the selected template is highlighted with a blue border). Finally, click the "Create" button (marked in orange).

<div drawio-diagram="5337"><img src="https://doc316en.candera.eu/uploads/images/drawio/2024-03/drawing-5-1709276153.png" alt="drawing-5-1709276153.png"/></div>

<div class="contents" id="bkmrk--7"><div class="contents"><div class="textblock">---

</div></div></div>#### Recent Solutions

If you have already created a solution and you are reopening the CGI Studio Control Center, you can see the recent solution just above the "New Solution" section. To open the recent solution click on the solution link to select it (highlighted in bold and blue text) and click the "Open" button or simply doubleclick the recent solution you intend to open.

<div drawio-diagram="5340"><img src="https://doc316en.candera.eu/uploads/images/drawio/2024-03/drawing-5-1709276480.png" alt="drawing-5-1709276480.png"/></div>

---

<div class="contents" id="bkmrk--11"><div class="textblock">  
</div></div>

# Control Center Menu

<div class="contents" id="bkmrk-"><div class="contents"><div class="textblock">  
</div></div></div><div drawio-diagram="1785"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-02/drawing-4-1676618216.png" alt="drawing-4-1676618216.png"/></div>

With the "File" menu you can:

- open a solution
- close the current solution
- save the current solution
- open recent solutions from a list
- exit the Control Center

<div drawio-diagram="1786"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-02/drawing-4-1676618239.png" alt="drawing-4-1676618239.png"/></div>

In the "Edit" menu you can undo or redo your changes.  
You can also open Visual Studio to edit Application Definition or Data Model Definition (like in <span style="color:rgb(230,126,35);">[Custom "Courier" Section](https://doc316en.candera.eu/link/1121#bkmrk-custom-%22courier%22-sec)</span>)

<div drawio-diagram="1787"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-02/drawing-4-1676618256.png" alt="drawing-4-1676618256.png"/></div>

The "Build" menu lets you build the Panel (like in <span style="color:rgb(230,126,35);">[Build Panel](https://doc316en.candera.eu/link/1121#bkmrk-build-panel)</span>) or the Application (like in <span style="color:rgb(230,126,35);">[Build Application](https://doc316en.candera.eu/link/1117#bkmrk-build-application)</span>). This menu is not available on the welcome screen and requires that a Control Center solution be in use.

<div drawio-diagram="1789"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-02/drawing-4-1676618299.png" alt="drawing-4-1676618299.png"/></div>

Through the "Help" menu you can choose to view a Help documentation, tutorials, or information about the Control Center application itself.

---

# Control Center - General Settings

After opening a solution, the following pages are available:  
  
・Dashboard  
・General &amp; CGI Studio  
・Scene Composer

# Dashboard

The Control Center Dashboard is the first page opened when opening a solution. If you close the solution using the menu "File - Close solution", you will come back to the <span style="color: rgb(230, 126, 35);">[Control Center Welcome Screen](https://doc316en.candera.eu/link/349#bkmrk-page-title)</span>.

<div drawio-diagram="7759"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920085.png" alt=""/></div>

<div class="contents" id="bkmrk--0"><div class="contents"><div class="textblock">---

</div></div></div>
#### "Run" Section

Below the ribbon you can find buttons to run SceneComposer, the Player, and CGI Studio Analyzer with your open Solution.

<div drawio-diagram="7760"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920112.png" alt=""/></div>

<table border="1" class="align-left" id="bkmrk-clicking-on-this-but" style="border-collapse: collapse; width: 96.5432%; border-width: 1px;"><colgroup><col style="width: 2.8157%;"></col><col style="width: 17.5325%;"></col><col style="width: 79.6091%;"></col></colgroup><tbody><tr><td style="border-width: 1px; vertical-align: top;"><span style="color: rgb(0, 0, 0);">1</span>

</td><td style="border-width: 1px; vertical-align: top;">**<span style="color: rgb(0, 0, 0);">Scene Composer  
</span>**

</td><td style="border-width: 1px; vertical-align: top;">Clicking on this button opens the selected solution in Scene Composer for the selected platform.  
More info can be found in the [<span style="color: rgb(230, 126, 35);">Scene Composer</span>](https://doc316en.candera.eu/shelves/3-scene-composer) chapter.</td></tr><tr><td style="border-width: 1px; vertical-align: top;"><span style="color: rgb(0, 0, 0);">2</span>

</td><td style="border-width: 1px; vertical-align: top;">**<span style="color: rgb(0, 0, 0);">Player  
</span>**

</td><td style="border-width: 1px; vertical-align: top;">This button opens the CGI Player. Before the CGI Player is opened, a Windows Security Alert will prompt you for access. In the CGI Player you can select via checkboxes which scene will be rendered in the CGI Player Window.   
More info can be found in the <span style="color: rgb(230, 126, 35);">[Player](https://doc316en.candera.eu/books/player) </span>chapter.  
</td></tr><tr><td style="border-width: 1px; vertical-align: top;"><span style="color: rgb(0, 0, 0);">3</span>

</td><td style="border-width: 1px; vertical-align: top;">**<span style="color: rgb(0, 0, 0);">Analyzer  
</span>**

</td><td style="border-width: 1px; vertical-align: top;">The Analyzer button opens the CGI Studio Analyzer.  
More info can be found in the <span style="color: rgb(230, 126, 35);">[Analyzer](https://doc316en.candera.eu/books/performance-optimization/chapter/cgi-analyzer)</span> chapter.  
</td></tr></tbody></table>

<div class="contents" id="bkmrk--4"><div class="contents"><div class="contents">  
</div></div></div><div class="contents" id="bkmrk--5"><div class="contents"><div class="textblock">---

</div></div></div>#### "Player" Section

In this section you can edit or build your application and you can generate your assets for Simulation, Target or for Simulation and Target.

##### Edit Application

<div drawio-diagram="7761"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920423.png" alt=""/></div>

Click on this button in order to edit your application. As the icon suggests, clicking "Edit Application" opens Visual Studio with the selected sample.  
This button may be disabled in a new solution. After building the application using <span style="color: rgb(230, 126, 35);">[Build Application](https://doc316en.candera.eu/link/1117#bkmrk-build-application)</span>, this button is enabled.

<div drawio-diagram="4668"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698644126.png" alt=""/></div>

<div class="contents" id="bkmrk--10"><div class="contents">  
</div></div>##### Build Application

<div drawio-diagram="7762"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920451.png" alt=""/></div>

Click here to build your application. This will open the <span style="color: rgb(230, 126, 35);">[CGI Studio Control Center - Build Window](https://doc316en.candera.eu/link/1117#bkmrk-cgi-studio-control-c)</span> and start the build process, which may take some time.

A successful build completion is signaled by "... succeeded"

<div drawio-diagram="7763"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920482.png" alt=""/></div>

##### Generate Asset

<div drawio-diagram="4673"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698644631.png" alt=""/></div>

To generate assets select Simulation, Target, or Simulation and Target as desired and press the "Generate Target" button. Log output during asset generation is displayed directly in the lower part of the Control Center Window.

<div drawio-diagram="7764"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920521.png" alt=""/></div>

##### CGI Studio Control Center - Build Window

Whenever a build process is started in the CGI Studio Control Center (e.g. <span style="color: rgb(230, 126, 35);">[Build Application](https://doc316en.candera.eu/link/1117#bkmrk-build-application)</span> and [<span style="color: rgb(230, 126, 35);">Build Panel</span>](https://doc316en.candera.eu/link/1121#bkmrk-build-panel)) the build window is opened. This window displays the build output.

<div drawio-diagram="7765"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920557.png" alt=""/></div>

<div class="contents" id="bkmrk--21"><div class="contents">  
</div></div>You can scroll through the build output. You can filter the output lines for Info lines, Warnings and Errors using the Checkboxes in the top of the window. You can cancel or stop the build with the buttons on the bottom right.  
The buttons on the left have the following functionality:

<div drawio-diagram="7766"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920586.png" alt=""/></div>

<div class="contents" id="bkmrk-open-the-build-log-f"><div class="contents"><div class="textblock"><table border="0"><tbody><tr><td>1

</td><td style="vertical-align: top;">Open the Build-Log file.</td></tr><tr><td>2

</td><td style="vertical-align: top;">Copy the Build-Log to Clipboard.</td></tr><tr><td>3

</td><td style="vertical-align: top;">Automatically scrolls to the bottom of the log output. (If you have scrolled up in the output)</td></tr></tbody></table>

---

</div></div></div>

# General & CGI Studio

<div drawio-diagram="5342"><img src="https://doc316en.candera.eu/uploads/images/drawio/2024-03/drawing-5-1709284521.png" alt=""/></div>

Via the General &amp; CGI Studio tab it is possible to edit solution details and various reference paths. Items that are greyed out cannot be edited. Use the checkboxes on the right to toggle between relative paths and absolute paths. Use a semicolon to list up multiple files.

##### Solution

- **Name:** Name of the solution
- **Description:** Description of the solution
- **Control Center Solution Path:** The path to the current control center solution

##### CGI Studio Items

- **CGI Studio Path:** The root folder for all CGI Studio components (this folder should contain all CGI Studio libraries like cgi\_studio\_candera, cgi\_studio\_courier, bin/SceneComposer, etc).
- **Control Center Path:** The path to the Control Center executable
- **Scene Composer Path:** The path to the Scene Composer executable
- **Courier Binaries Path:** The path to the Courier binaries (CourierEditor.exe and CourierGenerator.exe)

##### Courier  


- **Courier Generator Output Path:** The folder in which CourierGenerator should generator all the code
- **XCDL Include Path:** The list of paths in which CourierGenerator and CourierEditor will search for the definition files.

##### Courier Definition

- **Courier Application Definition:** The main Courier definition file that will be used by CourierGenerator.
- **Courier DataModel Definition:** The path to the file that contains the definition of the data binding items
- **Courier Message Definition:** The path to the file that contains the definition of the messages that are used in the application

---

# Scene Composer

<div drawio-diagram="5343"><img src="https://doc316en.candera.eu/uploads/images/drawio/2024-03/drawing-5-1709284693.png" alt=""/></div>

Via the Scene Composer tab it is possible to edit project details and various reference paths. Use the checkboxes on the right to toggle between relative paths and absolute paths.

##### Scene Composer

- **Scene Composer Project:** The path to the Scene Composer project

##### SCHost  


- **SCHost Search Paths:** Paths here are used to find the SCHost.dll when starting Scene Composer. The first found SCHost.dll will be used.
- **SCHost Start Path:** The SCHost.dll that is found will be copied to this location and Scene Composer will be started using this copy.

##### Asset  


- **Simulation Asset File:** The path to the simulation asset file
- **Target Asset File:** The path to the target asset file

---

# Control Center - Advanced Settings

# Overview

The Dashboard has a ribbon below the toolbar that can be expanded to offer more possibilities. This is done with the "Advanced Tabs" button on the right.

<div drawio-diagram="4680"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698647680.png" alt=""/></div>

When the ribbon is expanded, the following tabs become available:

- Custom
- Applications &amp; Modules
- Scripts
- Builds
- Build (Global)
- Environment Variables

If an advanced settings tab is active and the “Advanced Tabs” button is clicked again, the user will be returned to the Dashboard screen.

---

# Custom

For advanced users, the Custom tab enables the user to edit and build the CGI Panel, as well as edit data bindings and Courier definitions.  
Scripts here, used for general operations, can be changed and customized to fit the user’s needs.

<div drawio-diagram="7767"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920663.png" alt="drawing-4-1736920663.png"/></div>

---

#### Build Configuration  


Advanced users may want to change their CMake project configuration.

##### Open CMake  


<div drawio-diagram="7768"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920688.png" alt="drawing-4-1736920688.png"/></div>

This "Open CMake" button will open your project in CMake, where you can change the CMake settings as you like.

<div drawio-diagram="4684"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698648247.png" alt="drawing-7-1698648247.png"/></div>

---

#### Custom "Panel" Section

In this section you can edit or build the CGI Panel.

##### Edit Panel

<div drawio-diagram="7769"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920764.png" alt="drawing-4-1736920764.png"/></div>

Click on the "Edit Panel" button, if you want to edit CGI Panel. As indicated by the icon, clicking "Edit Panel" launches Visual Studio for editing CGI Panel.

<div drawio-diagram="4686"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698648422.png" alt="drawing-7-1698648422.png"/></div>

##### Build Panel

<div drawio-diagram="7770"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920800.png" alt="drawing-4-1736920800.png"/></div>

Click the "Build Panel" button to build the application. This opens the <span style="color: rgb(230,126,35);">[CGI Studio Control Center - Build Window](https://doc316en.candera.eu/link/1117#bkmrk-cgi-studio-control-c)</span> and the build is started.  
A successful build completion is signaled by "... succeeded" text in the output log.

---

#### Custom "Courier" Section

As seen below, this section of the Control Center is for editing the Data Model Definition and the Application Definition, as well as for code generation.

##### Edit Data Model Definition and Application Definition

<div drawio-diagram="7771"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920827.png" alt="drawing-4-1736920827.png"/></div>

<table class="align-left" id="bkmrk-to-edit-the-data-mod" style="border-collapse: collapse; width: 80.7407%; border-width: 1px; height: 105.125px;"><colgroup><col style="width: 47.918%;"></col><col style="width: 52.031%;"></col></colgroup><tbody><tr><td style="border-width: 1px;">To edit the Data Model Definition, click this "Edit Date Model" button to open Visual Studio and edit PlayerDataBinding.xhcdl.

</td><td style="vertical-align: top; border-width: 1px;">To edit the Application Definition, click this "Edit Definition" button to open Visual Studio and edit PlayerGenCode.xhcdl.</td></tr></tbody></table>

##### Generate

<div drawio-diagram="7772"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920852.png" alt="drawing-4-1736920852.png"/></div>

Clicking this generates the above code.

---

#### Custom ☆

<div drawio-diagram="4691"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698649058.png" alt="drawing-7-1698649058.png"/></div>

Custom builds defined in the <span style="color: rgb(230,126,35);">[“Builds”](https://doc316en.candera.eu/link/1124#bkmrk-page-title)</span> tab are saved and displayed here. Clicking a button will execute the referenced build.

---

# Applications & Modules

<div drawio-diagram="7773"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920913.png" alt=""/></div>

Via the Applications &amp; Modules tab it is possible to edit various reference paths for some external applications.

##### Panel

- **Panel Project:** The path of the Panel project
- **Panel Executable:** The path to the Panel executable

##### Player

- **Player Project:** The path of the Player project
- **Player Executable:** The path to the stand-alone executable

---

# Control Center Scripts

<div drawio-diagram="7774"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736920963.png" alt="drawing-4-1736920963.png"/></div>

Via the Scripts tab it is possible to edit various reference paths for scripts used by Control Center that launch executables, generate codes and assets, and more.

##### Script Files

- **Run Analyzer Script:** Script which will be executed when the action is triggered from the menu
- **Edit Application Project Script:** Script which will be executed when the action is triggered from the menu
- **Open CMake Script:** Script which will be executed when the action is triggered from the menu
- **Edit Scene Composer Solution Script:** Script which will be executed when the action is triggered from the menu
- **Edit Stand-Alone Application Project Script:** Script which will be executed when the action is triggered from the menu
- **Run Stand-Alone Application Script:** Script which will be executed when the action is triggered from the menu
- **Generate Application Code:** Generates the application code based on the courier definitions
- **Generate Target Asset Script:** Generates Target asset
- **Generate Simulation Asset Script:** Generates Simulation asset
- **Edit Model Definition:** Edit Model Definition
- **Edit Application Definition:** Edit Application Definition

---

# Builds

<div drawio-diagram="4694"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698649890.png" alt="drawing-7-1698649890.png"/></div>

Via the Builds tab it is possible to edit variables that are used in the building of individual applications. Default builds are available in the Builds column on the left-hand side:

Panel – Location of build scripts and other settings needed for building CGI Panel when “Build Panel” on the “Custom” tab is clicked.   
Application – Location of build scripts and other settings needed for running Control Center itself.

Each build will have variables that can be configured, seen in the Variables table.   
Each variable will have a string name, a string description, and a value. This value will be either of type file (ie. Filename), path (ie. Filepath), or value (ie. string, char, int, etc.). If Type: Value is selected, the file selection button will be greyed out.

To add or delete builds, use the +/- buttons. These builds can be executed on the “Custom” tab under “Custom ☆”

<div drawio-diagram="7775"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736921260.png" alt="drawing-4-1736921260.png"/></div>

To add or delete variables for a build, use the +/- buttons on the right-hand side of the variables table.

<div drawio-diagram="7776"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736921288.png" alt="drawing-4-1736921288.png"/></div>

---

# Build (Global)

<div drawio-diagram="4697"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698650190.png" alt=""/></div>

Via the Builds (Global) tab it is possible to edit variables that are used in the building of all applications.

Each variable will have a string name, a string description, and a value. This value will be either of type file (ie. Filename), path (ie. Filepath), or value (ie. string, char, int, etc.). If Type:Value is selected, the file selection button will be greyed out.

To add or delete variables for a build, use the +/- buttons on the right-hand side of the variables table.

<div drawio-diagram="7777"><img src="https://doc316en.candera.eu/uploads/images/drawio/2025-01/drawing-4-1736921324.png" alt=""/></div>

---

# Enviroment Variables

<div drawio-diagram="4699"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-10/drawing-7-1698650504.png" alt="drawing-7-1698650504.png"/></div>

Via the Environmental Variables tab you can see all declared environmental variables. The variables on this page are either purely for reference (eg. Control Center Path) or correspond to variable declarations made elsewhere in the Control Center. Changes to the latter will be reflected here after closing and reopening the Control Center solution.

---