Simulator Deployment Tutorial 3 : Multi-Machine Simulation

Vortex® Studio allows the deployment of a simulation on multiple computers. This is useful when deploying a simulation on more than two screens, to spread the computing over multiple machines.

Prerequisites

The simulation we will deploy in this tutorial will involve two computers connected in a network, each connected to a display and a gamepad controller.

You need to have Vortex® Studio and the Vortex Studio Demo Scenes installed to be able to follow all steps in this tutorial.

Both computers also need to have the same version of Vortex Studio installed.

Creating the Setup File

In this section, we are going to setup a configuration where one master node is running the engine, and two slave nodes are running graphics. We are also going to introduce seats, where one seat is going to correspond to the Excavator operator, and the other to the Dump Truck driver.

  1. From Vortex® Studio's main menu, create a Setup File from the New Document Section.
  2. From the Presets section of the Toolbox, insert a Master with dynamics preset and two Slave with 1 window presets.
  3. Rename the first seat Excavator Operator and the first slave node to "Excavator Node".
  4. Rename the second seat Truck Driver and the second slave node to "Dump Truck Node".
  5. Select the Excavator Operator Seat. Make sure that its Modules are located in the Excavator Node.
  6. Under the Preferred Roles section, add an entry and name it "Excavator.Operator".
  7. Repeat for the Dump Truck Driver Seat and name it "Dump Truck.Driver".

    The preferred roles correspond to [Parent].[Role] in the scene. In the case of the Excavator, the Parent is the Excavator mechanism and the role name is Operator.

  8. From the Content section of the Toolbox, add a Content Loader extension.
  9. In the Content Files section of its properties, add a file and browse to the mobile crane scene you modified in the previous section.
  10. Save the Setup File in your working directory and name it "Excavator Setup.vxc"

Deploying Simulation

Similar to what we did in the previous module, the Vortex Studio Director will be used to deploy the Nodes, this time on two different machines.

  1. Make sure both computers contain the assets (samples) in the same location with the same version of the scene.
  2. Copy the Excavator Setup.vxc Setup File in the same location on both computers.

    The following steps only have to be done on one of the two computers. This will be the computer from which the simulator is started.

  3. Open the Vortex Studio Director and create a new simulator. Name it "Excavator Simulator".
  4. In Selected Network, select the appropriate network adapter that connects both computers.
  5. In Setup File, browse and select the Excavator Setup.vxc we created in the previous section.
  6. Add three Simulation Applications by pressing the + button.
  7. Assign the Master and Excavator Node to the first computer.

    You can find out a Windows machine name by going into Settings/About (formally known as System), under Device Name.

  8. Assign the Dump Truck Node to the second computer.
  9. Save and Launch the Simulator.

Up Next: Simulator Deployment Tutorial 4 : Multiple Viewports on a Single Screen