Skip to main content
3 of 5
edited tags
gandalf3
  • 158.3k
  • 60
  • 612
  • 1.1k

changing tile location

i want to be able to render a tile and then move to the left and render that tile

Specify tile size for Blender Cycles rendering via the command line

so far i have gotten this... i have no idea how to make it loop to the next one im new to this. like really really new lol

it runs without error but im sure its all wrong

import bpy

for scene in bpy.data.scenes:
    mx = scene.render.border_max_x = 0
    sx = scene.render.border_min_x = 0
    sy = scene.render.border_min_y = 0
    my = scene.render.border_max_y = 0
    scene.render.use_border = True
    scene.render.use_crop_to_border = True
if 1 > 0:
    my = my + .2;
    mx = mx + .2;
    scene.render.border_max_x = mx
    scene.render.border_min_x = 0
    scene.render.border_min_y = 0
    scene.render.border_max_y = my
    int (my);
    int (mx);
        
    
     
    bpy.ops.render.render()