Control VRay/Vred distributed rendering

Parent Previous Next


Problem:

You want to be able to start and close the distributed client/server on a rrClient.

The Client should be disabled while the process is running.



Solution:

  1. Open rrControl, right-click on a client, choose Other/Edit New Script.
  2. Open the Execute Commandline script.
  3. Change
    CmdLine=          'echo "Hello"<NL>'
    CmdLine=CmdLine+  'echo "I am alive""<NL>'
    into 
    CmdLine="C:\\Program Files\\Autodesk\\VREDPro-6.67-x64\\bin\\WIN64\\VREDClusterServer.exe"
  4. Save the script as VRed_Distributed_Start.py
  5. Now change 
    CmdLine="C:\\Program Files\\Autodesk\\VREDPro-6.67-x64\\bin\\WIN64\\VREDClusterServer.exe"
    into 
    CmdLine="<rrBin>rrKillWait 1 VREDClusterServer.exe"
  6. Save the script as VRed_Distributed_Stop.py
  7. Open rrConfig, tab Client Config and select all clients.
  8. Add VREDClusterServer.exe to "Disable if process found:"