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.

drawing-4-1736921401.png

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).

drawing-4-1736921437.png

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).

drawing-5-1709276153.png

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.

drawing-5-1709276480.png


Control Center Menu


drawing-4-1676618216.png

With the "File" menu you can:


drawing-4-1676618239.png

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 Custom "Courier" Section)


drawing-4-1676618256.png

The "Build" menu lets you build the Panel (like in Build Panel) or the Application (like in Build Application). This menu is not available on the welcome screen and requires that a Control Center solution be in use.

drawing-4-1676618299.png

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 & CGI Studio
・Scene Composer

Control Center - General Settings

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 Control Center Welcome Screen.

drawing-4-1736920085.png

"Run" Section

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

drawing-4-1736920112.png

1

Scene Composer

Clicking on this button opens the selected solution in Scene Composer for the selected platform.
More info can be found in the Scene Composer chapter.

2

Player

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 Player chapter.

3

Analyzer

The Analyzer button opens the CGI Studio Analyzer.
More info can be found in the Analyzer chapter.


"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
drawing-4-1736920423.png

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 Build Application, this button is enabled.

drawing-7-1698644126.png

Build Application
drawing-4-1736920451.png

Click here to build your application. This will open the CGI Studio Control Center - Build Window and start the build process, which may take some time.

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

drawing-4-1736920482.png
Generate Asset
drawing-7-1698644631.png

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.

drawing-4-1736920521.png
CGI Studio Control Center - Build Window

Whenever a build process is started in the CGI Studio Control Center (e.g. Build Application and Build Panel) the build window is opened. This window displays the build output.

drawing-4-1736920557.png

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:

drawing-4-1736920586.png

1

Open the Build-Log file.

2

Copy the Build-Log to Clipboard.

3

Automatically scrolls to the bottom of the log output. (If you have scrolled up in the output)

Control Center - General Settings

General & CGI Studio

drawing-5-1709284521.png

Via the General & 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
CGI Studio Items
Courier
Courier Definition

Control Center - General Settings

Scene Composer

drawing-5-1709284693.png

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
SCHost
Asset

Control Center - Advanced Settings

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.

drawing-7-1698647680.png

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

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


 

Control Center - Advanced Settings

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.

drawing-4-1736920663.png

Build Configuration

Advanced users may want to change their CMake project configuration.

Open CMake
drawing-4-1736920688.png

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

drawing-7-1698648247.png

Custom "Panel" Section

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

Edit Panel
drawing-4-1736920764.png

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.

drawing-7-1698648422.png
Build Panel
drawing-4-1736920800.png

Click the "Build Panel" button to build the application. This opens the CGI Studio Control Center - Build Window 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
drawing-4-1736920827.png

To edit the Data Model Definition, click this "Edit Date Model" button to open Visual Studio and edit PlayerDataBinding.xhcdl.

To edit the Application Definition, click this "Edit Definition" button to open Visual Studio and edit PlayerGenCode.xhcdl.

Generate
drawing-4-1736920852.png

Clicking this generates the above code.


Custom ☆

drawing-7-1698649058.png

Custom builds defined in the “Builds” tab are saved and displayed here. Clicking a button will execute the referenced build.


Control Center - Advanced Settings

Applications & Modules

drawing-4-1736920913.png

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

Panel
Player

Control Center - Advanced Settings

Control Center Scripts

drawing-4-1736920963.png

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

Control Center - Advanced Settings

Builds

drawing-7-1698649890.png

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 ☆”

drawing-4-1736921260.png

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

drawing-4-1736921288.png

Control Center - Advanced Settings

Build (Global)

drawing-7-1698650190.png

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.

drawing-4-1736921324.png

Control Center - Advanced Settings

Enviroment Variables

drawing-7-1698650504.png

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.