WIP: Single-frame job compiler #104194
@ -88,8 +88,8 @@ function renderOutputPath(job) {
|
||||
|
||||
function tileChunker(tile_size) {
|
||||
let tiles = [];
|
||||
const rows = Math.floor(100 / tile_size);
|
||||
const columns = Math.floor(100 / tile_size);
|
||||
const rows = Math.ceil(100 / tile_size);
|
||||
const columns = Math.ceil(100 / tile_size);
|
||||
for (let row = 0; row < rows; row++) {
|
||||
for (let column = 0; column < columns; column++) {
|
||||
tiles.push({"row": row, "column": column});
|
||||
@ -163,6 +163,8 @@ bpy.context.scene.render.resolution_percentage = ${settings.resolution_percentag
|
||||
bpy.context.scene.render.use_compositing = True
|
||||
bpy.context.scene.use_nodes = True
|
||||
bpy.context.scene.view_layers[0].use = False
|
||||
if 'Render Layers' in bpy.context.scene.node_tree.nodes:
|
||||
bpy.context.scene.node_tree.nodes.remove(bpy.context.scene.node_tree.nodes['Render Layers'])
|
||||
bpy.context.scene.render.image_settings.file_format = 'OPEN_EXR_MULTILAYER'
|
||||
bpy.context.scene.render.filepath = basepath + "MERGED"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user