# Is there a way to use 'render region' with numeric input for size & position? [duplicate]

I'm trying to overscan a tracked shot basically: I've shot some green screen footage, but the studio was not large enough to get the camera sufficiently far enough away from the talent for the shots we need, so I've got to extend/zoom-out the shot using overscan.

So I'm comping my 4k plate on to a 6k or 8k blank background, then tracking the shot, using Syntheyes with an un-distort/re-distort workflow, and outputting a Blender scene for the CG. All good so far, but obviously a pain to work in 6k or 8k regardless.

So I need to render a 6k or 8k image in blender, but 1k or 2k of the border around the shot is all totally redundant. So how can I 'render region' with the region accurately centred, and define the width and height of the region in pixels? So I'm not wasting time rendering a load of pixels which will be thrown away in the composite anyway.

Cheers Mark

• I'm an idiot; Ignore the redundant pixels bit, I do need them! The question still stands though, can you define the size and position of the render region accurately without 'drawing' it? – MarkS Mar 9 at 6:33

You can turn on the Python Console Shift+F4 and define the border there.

Use commands:

bpy.data.scenes['Scene'].render.border_min_x
bpy.data.scenes['Scene'].render.border_max_x
bpy.data.scenes['Scene'].render.border_min_y
bpy.data.scenes['Scene'].render.border_max_y


Like so:

You can also turn on the Amaranth Add-on that comes with Blender (Have the 'Community' button ON) in order to see how large the Border render box is:

• Even better: blender.stackexchange.com/q/44504 – brockmann Mar 9 at 8:45
• True, that's way better - especially the Add-on in one of the answers – Manu Järvinen Mar 9 at 8:48
• Hello All! Sorry for the late reply but thanks loads! (I've been running away from Europe and self-isolating in Sydney, hence the massive delay!) – MarkS May 5 at 8:23