Skip to main content

Simulation via CGI Player and Value Generator

To visualize the newly created cluster in action, use CGI Player provided by CGI Studio. An asset file is the output of Scene Composer containing all the graphical resources of the scenes and can be loaded and rendered by Candera graphics engine. 
Running the CGI player, three windows are displayed as seen below.

drawing-4-1678158410.png
Window 1 This is a command line interface which can be used to send commands to the CGI Panel.
Window 2 This is the display which shows the simulation of the scenes according to configuration.
Window 3 This is a graphical user interface with more features to configure the asset file via the CGI Panel. 


Run CGI Player 

drawing-4-1678158538.png

1. Click Play button found in the tool bar. 

  • Make sure Generate and Play is selected. 

2. Three windows appear as explained in the above-mentioned. 

  • The asset file will be automatically generated and opened in the CGI Player. 


Run simulation by Value Generator 

Here, simulation is done using value generator. 

drawing-4-1678158632.png


1. Run CGI Player. 

2. Mark the checkbox of Scenes#Car_Cluster on the left side on CGI Panel window. 

  • Car_Cluster scene is shown in the Preview window. (Window 2 in the above-mentioned image)

3. Click Scenes#Car_Cluster. 

  • Scenes#Car_Cluster is highlighted red. 

4. Click Controls on the right side on CGI Panel. (Red frame in the image above)

  • A Controls list is displayed. 

5. Click SpeedGauge. (Yellow frame in the image above).

  • SpeedGauge properties will be displayed. 

6. Mark the Simulation checkbox of Value property. (Orange frame in the image above) 

  • By default, this Value is recognized as an Int32 and a Wave (sine) simulation is applied to it. 

7. Repeat steps 5 to 6 above to Brake, Airbag, Engine and OpenDoors. 

  • By default, this value is recognized as an Int32 and a Wave (sine) simulation is applied to it.
  • Refer to the image below. 
    drawing-4-1678164731.png

8. Click the Clapperboard icon in the tool bar to start the simulation (orange frame in the image below).

  • This will provide automatically generated values based on the settings in the Value Generator tab. 
    drawing-4-1678164801.png


The Value Generator provides the possibility to simulate the change of values in controls. With this, controls can be easily simulated without logic implementation.