Distributed rendering of single images #104327
@ -149,7 +149,8 @@ function authorRenderTasks(settings, renderDir, renderOutput) {
|
||||
const task = author.Task(`render-${border[0]}-${border[1]}`, "blender");
|
||||
let pythonExpr = `import bpy
|
||||
|
||||
render = bpy.context.scene.render
|
||||
scene = bpy.context.scene
|
||||
render = scene.render
|
||||
render.image_settings.file_format = 'OPEN_EXR_MULTILAYER'
|
||||
render.use_compositing = False
|
||||
overscan = 16
|
||||
@ -184,6 +185,8 @@ function authorMergeTask(settings, renderDir, renderOutput) {
|
||||
let pythonExpr = `import bpy
|
||||
|
||||
render = bpy.context.scene.render
|
||||
render.resolution_x = ${settings.resolution_x}
|
||||
render.resolution_y = ${settings.resolution_y}
|
||||
bpy.context.scene.use_nodes = True
|
||||
render.use_compositing = True
|
||||
node_tree = bpy.context.scene.node_tree
|
||||
|
Loading…
Reference in New Issue
Block a user