Blender Example

Get Prepared

You do not need to have Blender installed for this example, and there are no textures or other dependencies. The entire scene is contained in a single Blender file which you can download below.

The scene contains a camera flying 180 degrees around a pair of BMWs and is based on the popular BMW demo by Mike Pan from the Blender demos site.

bmw

Configure the Submission

general

You can browse for an output directory where your renders are ultimately downloaded to. This directory must not contain any of your input files.

Note

Due to a limitation in the file dialog, the button to choose a directory is labeled "Upload".

Task Template

The Task Template is where you specify the CLI command to run on each render node in the cloud.

blender /Users/me/conductor_blender/bmw_half_turn_low.blend --render-output /Users/me/conductor_blender/renders/render_ --render-format EXR  --render-frame <chunk_start>  --background -noaudio 

This is a regular CLI command to render a single frame of a Blender file.

Notice the --render-output flag points to a file in the output folder. If you like, you can refer to the contents of the output directory with a token:

The output path in the template changes to <output_path>/render_ and the resolved render commands in the submission preview will now always point to the chosen output directory.

Take a moment to save the state of the submission.

generalSave

Notice in the task template, the token: <chunk_start> specifies the frame to be rendered. This token is replaced with a different frame number for each of the 180 tasks. If you go to the Preview tab now you'll see a json object that represents the submission fully resolved. The tasks_data section shows how each command is constructed from the template.

File Dependencies

You may have noticed in the Preview tab that the upload_paths section was empty. The Blender submission relies on just one file, bmw_half_turn_low.blend, so you'll need to tell the submitter to upload it.

files

Software

You must specify all the host software and plugin services you need for them to be made available to the render nodes and to have their environments correctly set.

software

If you head back to the Preview tab now, you'll see the environment section contains Blender's paths.

Python Location

The submission is submitted using Conductor's client side Python API, and therefore you need to ensure you have Python 2.7 available. Check the Advanced tab. If the Python Location field is empty, browse for a valid Python 2.7 installation on your system. If Python 2.7 is not installed, you'll need to install it before you can submit your job.

Submit

You can now press Submit. You should see some activity in the status bar. If you click the small icon in the status bar you'll see the whole log, where you can identify errors if any. If the submission is successful you'll be presented with a link to the job in Conductor's web UI.