Command Line Rendering
Background Rendering with the CommandLine application
There are times when it might be helpful to have Octane render in the background while using Cinema 4D at the same time. This can be accomplished via the Commandline application located in your Cinema 4D directory. This application requires a valid command line license to use, so it might be necessary to consult with Maxon support for more information. Once Commandline is properly installed/licensed, do the following:
Go to the Commandline.exe application and type or copy/paste the following into the prompt window:
Commandline.exe g_modulePath="%{g_startupPath}/corelibs;%{g_startupPath}/plugins" -render path\to\yourfile.c4d -frame 0 10 1
Where "0-10" are the frames to render and 1 is the step count. These components can be modified as needed for the scene.
Octane will then begin to render the file in the background.
Use the Command Line to Specify GPUs for Rendering
It is also possible to specify specific GPU allocations for rendering a particular scene — GPU flags for Cinema4D.exe only work when using the Teamviewer and Deadline render control applications.
Use this command line syntax to specify the GPUs:
//*** CommandLine parameter for activating gpus ***
yourfile.c4d -octaneGPU "0:true 1:false"
In the above example, GPU 0 will be used for rendering, but GPU 1 will not.