When rendering from the command-line in Maya (using Render), 3ds Max (using 3dsMaxCmd.exe) or Softimage (using xsibatch.exe) of your 3d app with Redshift, you can specify the GPU devices to use for the rendering job. When specifying the GPU devices from the command-line, the Redshift preferences.xml file is not updated, so running Maya, 3ds Max or Softimage your 3d app in interactive mode will still use the GPU devices that you specified in the System tab of the Redshift render options.
To use the Houdini command-line tools, you need to open the Houdini 'Command Line Tools' application (available as a shortcut from the start menu) in Windows.
In Linux, you'll need to source the Houdini environment as follows:
Syntax / Example
For example, using 'hbatch', the most basic command-line render session without scripts to load a scene, set the enabled GPUs and render the Redshift ROP node, can be:
Alternatively, you can write a script file like
And execute it using:
<preference name="AllCudaDevicesAllComputeDevices" type="string" value="0:Quadro K5000,1:Quadro 6000," />