You can publish results over a network. The default “Render executable” setting is the following:
This command invokes the render.py Python script (found in the \resources\bgTasks folder of the Toxik program folder) locally on the machine to render all the frames of the composition. The command parameters tell the publish script which project and composition to use, and the file name to use for the output frames from the rendering, the destination folder where rendered frames should be placed, etc. By examining the render.py script, you can determine all the different parameters which can be passed to the publish script.
To render over the network, the “Render executable” setting must be changed, so that instead of invoking the rendering locally on the machine for all frames, it will submit a job to a network render management software, which will then invoke the rendering on multiple render nodes in the render farm one frame at a time.
Instead of using the publish script, the standalone renderer can be used for network rendering (the standalone renderer is the txpublish.exe executable located in the Toxik program folder). The parameters for the standalone renderer are very similar to those for the publish script. If you run the standalone renderer without any parameters, you will be given a useful help message which includes all the parameters which you can specify.
(Windows) To access the Toxik Command Prompt:
(Linux) To access Toxik via a shell on a Linux workstation:
The following lists the variables.
Variable | Description |
---|---|
<InstallDir> | Toxik root installation folder. |
<BgTaskDir> | Points to the \resources\bgTasks folder of the Toxik installation. |
<PythonExec> | Points to the Python executable used by Toxik. |
<SharedDataDir> | Folder on the network where shared data files are stored. |
<DestinationPath> | The destination folder specified in the current project's Publish settings. |
<CurrentUser> | The current user. |
<CurrentProject> | The current project. |
<CompositionPath> | The path to the current composition. |
<ProjectFolder> | The path of the current project. |
<Name> | The current composition name. |
<Date> | The current date. |
<Time> | The current time. |
<FilenamePattern> | The file name pattern specified in the current project's Publish settings. |
<Custom> | The custom string associated with the current composition. |
<FrameNo> | The current frame number (only available in the file name Publish setting). |
<NbFrames> | The number of frames in the current composition. |
<StartFrame> | The start frame index for the current composition. |
<EndFrame> | The end frame index for the current composition. |
<RenderedResult> | The current published result name. |
To verify the Toxik and network rendering application installation setup:
To change the default publish settings:
For information on setting the publish mode, see the To set the publish mode procedure in Publishing a Composition.