Distributed rendering of single images #104327
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user