-
Notifications
You must be signed in to change notification settings - Fork 60
Getting started
Or Fleisher edited this page Nov 30, 2020
·
2 revisions
To quickly render a single test frame using the Cycles ray tracer you can run the following command
docker run nytimes/blender:latest blender -b -o /tmp/ -E CYCLES -f 1
In this example:
-
-b
means run Blender in background mode (i.e headless with no GUI) -
-o
refers to the folder in which you want to save the renders -
-E
selects the engine used for rendering (Cycles support both GPU and CPU rendering) -
-f
sets the amount of frames to render
For a full reference of CLI arguments available see the Blender CLI documentation page
It should look like something like
FROM nytimes/blender:latest
...rest of your own Dockerfile
For all tags available see Docker tags or visit the Docker Hub repository
This repository is maintained by the Research & Development team at The New York Times and is provided as-is for your own use. For more information about R&D at the Times visit our website