This GitHub repository is an example integration with AWS Deadline Cloud that is intended to only be used for testing and is subject to change. This code is an alpha release. It is not a commercial release and may contain bugs, errors, defects, or harmful components. Accordingly, the code in this repository is provided as-is. Use within a production environment is at your own risk!
Our focus is to explore a variety of software applications to ensure we have good coverage across common workflows. We prioritized making this example available earlier to users rather than being feature complete.
AWS Deadline Cloud for Cinema 4D is a python package that allows users to create AWS Deadline Cloud jobs from within Cinema 4D. It provides both the implementation of a Cinema 4D extension for your workstation that helps you offload the computation for your rendering workloads to AWS Deadline Cloud to free up your workstation's compute for other tasks, and the implementation of a command-line adaptor application based on the Open Job Description (OpenJD) Adaptor Runtime that improves AWS Deadline Cloud's ability to run Cinema 4D efficiently on your render farm.
This library requires:
This package's version follows Semantic Versioning 2.0, but is still considered to be in its initial development, thus backwards incompatible versions are denoted by minor version bumps. To help illustrate how versions will increment during this initial development stage, they are described below:
This Cinema 4D integration for AWS Deadline Cloud has two components that you will need to install:
Before submitting any large, complex, or otherwise compute-heavy Cinema 4D render jobs to your farm using the submitter and adaptor that you set up, we strongly recommend that you construct a simple test scene that can be rendered quickly and submit renders of that scene to your farm to ensure that your setup is correctly functioning.
The Cinema 4D submitter extension creates a button in your Cinema 4D UI (under Extensions tab) that can be used to submit jobs to AWS Deadline Cloud. Clicking this button reveals a UI to create a job submission for AWS Deadline Cloud using the AWS Deadline Cloud client library. It automatically determines the files required based on the loaded scene, allows the user to specify render options, builds an Open Job Description template that defines the workflow, and submits the job to the farm and queue of your chosing.
pip install deadline-cloud-for-cinema-4d
pip install deadline[gui]
Set up the C4DPYTHONPATH311
environment variable:
Windows:
set C4DPYTHONPATH311="Path\to\site-packages"
Mac:
export C4DPYTHONPATH311="Path/to/site-packages"
The Cinema 4D extension can be downloaded from the git repo:
There are 2 ways to setup Cinema 4D to access this extension:
Plugin directory method:
DeadlineCloud.pyp
within this "plugins" directory. Environment variable method:
g_additionalModulePath
environment variable to point to the location where DeadlineCloud.pyp
exists, so that Cinema 4D can load the plugin.Windows:
set g_additionalModulePath="Path\to\DeadlineCloud.pyp"
Linux or Mac:
export g_additionalModulePath="Path/to/DeadlineCloud.pyp"
Windows:
Mac:
/Applications/Maxon Cinema 4D 2025/Cinema 4D.app/Contents/MacOS
./Cinema\ 4D
If you load a scene, click on Extensions > Deadline Cloud Submitter to view the submitter.
Some specific versions of Cinema 4D ( e.g. Cinema 4D 2024.1.0
) have been found to be missing some libraries key to Deadline requirements ; in later versions such as 2024.4.0
this has been resolved.
A missing library error will manifest in errors that can be visible from the Python section of the Extensions > Console UI. These typically look like:
PySide6/__init__.py: Unable to import Shiboken from ...
To remedy these errors, you can switch to a later version of Cinema 4D which resolves the missing libraries, or you can manually add them specifically to the Cinema 4D python module, e.g in Windows it will be something like:
"C:\Program Files\Maxon Cinema 4D 2024\resource\modules\python\libs\win64\python.exe"-m ensurepip
"C:\Program Files\Maxon Cinema 4D 2024\resource\modules\python\libs\win64\python.exe"-m pip install MISSING_MODULE
Jobs created by this submitter require this adaptor be installed on your worker hosts, and that both the installed adaptor and the Cinema 4D executable be available on the PATH of the user that will be running your jobs.
Or you can set the CINEMA4D_ADAPTOR_COMMANDLINE_EXE
to point to the Cinema 4D executable.
The adaptor application is a command-line Python-based application that enhances the functionality of Cinema 4D for running within a render farm like Deadline Cloud. Its primary purpose for existing is to add a "sticky rendering" functionality where a single process instance of Cinema 4D is able to load the scene file and then dynamically be instructed to perform desired renders without needing to close and re-launch Cinema 4D between them. It also has additional benefits such as support for path mapping, and reporting the progress of your render to Deadline Cloud. The alternative to "sticky rendering" is that Cinema 4D would need to be run separately for each render that is done, and close afterwards. Some scenes can take 10's of minutes just to load for rendering, so being able to keep the application open and loaded between renders can be a significant time-saving optimization; particularly when the render itself is quick.
If you are using the default Queue Environment, or an equivalent, to run your jobs, then the adaptor will be automatically made available to your job. Otherwise, you will need to install the adaptor.
The adaptor can be installed by the standard python packaging mechanisms:
$ pip install deadline-cloud-for-cinema-4d
After installation it can then be used as a command line tool:
$ cinema4d-openjd --help
For more information on the commands the OpenJD adaptor runtime provides, see here.
You will need to ensure the desired Cinema 4D version is available on the worker host when using AWS Deadline Cloud's Service Managed Fleets to run jobs. These hosts do not have pre-installed rendering applications.
Cinema 4D packages are not available in the "deadline-cloud" conda channel. You must build them yourself in DeadlineCloud. We recommend using the conda recipes in our samples Github repository. Two essential conda packages for rendering on Deadline Cloud Service Managed Fleets are cinema4d-2025
and cinema4d-openjd
.
For instructions on building conda recipes on Deadline Cloud, see this article. Though it refers to Blender, the process applies to Cinema 4D recipes as well.
For licensing Cinema 4D workers, follow the guidelines in this article.
To submit a job, the submitter first generates a Job Bundle, and then uses functionality from the Deadline package to submit the Job Bundle to your render farm to run. If you would like to see the job that will be submitted to your farm, then you can use the "Export Bundle" button in the submitter to export the Job Bundle to a location of your choice. If you want to submit the job from the export, rather than through the submitter plug-in then you can use the Deadline Cloud application to submit that bundle to your farm.
We take all security reports seriously. When we receive such reports, we will investigate and subsequently address any potential vulnerabilities as quickly as possible. If you discover a potential security issue in this project, please notify AWS/Amazon Security via our vulnerability reporting page or directly via email to AWS Security. Please do not create a public GitHub issue in this project.
See telemetry for more information.
This project is licensed under the Apache-2.0 License.