Distributed rendering of single images #104327

Merged
David Zhang merged 22 commits from David-Zhang-10/flamenco:single-image-render into main 2024-09-03 06:47:49 +02:00
Showing only changes of commit 2843993de4 - Show all commits

View File

@ -84,6 +84,14 @@ const JOB_TYPE = {
visible: "hidden", visible: "hidden",
description: "Resolution Y" description: "Resolution Y"
}, },
{
key: "resolution_scale",
type: "int32",
required: true,
eval: "C.scene.render.resolution_percentage",
visible: "hidden",
description: "Resolution scale"
}
] ]
}; };
@ -94,6 +102,10 @@ function compileJob(job) {
const settings = job.settings; const settings = job.settings;
const renderOutput = renderOutputPath(job); const renderOutput = renderOutputPath(job);
if (settings.resolution_scale !== 100) {
throw "Flamenco currently does not support rendering with a resolution scale other than 100%";
}
// Make sure that when the job is investigated later, it shows the // Make sure that when the job is investigated later, it shows the
// actually-used render output: // actually-used render output:
settings.render_output_path = renderOutput; settings.render_output_path = renderOutput;