
© Next Limit Technologies 2010
Maxwell Render 2.5 User Manual
Chapter 11. The Network System | 93
This is a tricky hack, and you’ve got to adjust the write and read permissions, and be root
to be able to mount the shared folders, but it works and can sometimes be the easiest
solution.
11.08 Using a 3rd party job manager with Maxwell Render
Maxwell can run as a command line application so it can be controlled from any external
process though command line ags. It allows you to connect it to any job manager in an
standard way.
The most typical scenario is rendering a single job or an animation. In that case the job
manager just has to call maxwell using the following command line (be aware the paths
could be different in each system):
> C:\program files\next limit\Maxwell 2\maxwell.exe -scene:”D:\scenes\
test.mxs” -mxi:”D:\output\test.mxi” -o:”D:\output\test.tiff” -sl:15
-res:1024x768 -nogui -nowait -node
This command line instruction opens Maxwell Render and renders the scene “test.mxs”
with the given sampling level and resolution and saves the output in the paths specied
with the “-mxi” and the “-o” ags.
The ag “-nogui” forces Maxwell to run in console mode. The ag “-nowait” forces Maxwell
to close after the render nishes. The ag “-node” forces Maxwell to use a node license
instead a full license.
See Appendix III for a full list of command line ags, or type:
> maxwell.exe -help
to learn more about Maxwell Render command line ags.
If the paths contain spaces they should be placed inside quotes as shown in the example.
To avoid typing the full path to the Maxwell executable in Windows every time, you can
append it to the PATH environment variable. Typing “maxwell.exe” will work no matter
where the current path is.
Maxwell Render can be killed from the job manager using any standard procedure to kill
processes. When Maxwell Render receives a kill signal it stops the render, saves the output
and closes.
It is also possible to run cooperative renders (more than one machine rendering the same
scene) through the command line.
To do so just follow these steps:
1. Render as many images as you want, using a different seed in each one. The seed
can be set with the ag “-cpuid:ID”
2. Merge the MXI output of all of them into one MXI le. To do so, use the mximerge
tool included with the Maxwell Render package. For example, let’s say you have
rendered ten MXI les that are in the folder D:\myproject\output.
To merge them just type:
> C:\program files\next limit\Maxwell 2\mximerge.exe -folder:”D:\
myproject\output\” -target:”C:\merge_test.mxi” -image:”C:\merge_test.
png”
This command line instruction merges all the MXI les located in the folder “ D:\myproject\
output\” into one “merge_test.mxi” and it also extracts the image and saves it in “C:\
merge_test.png”
Comentários a estes Manuais