2
$\begingroup$

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

$\endgroup$
  • $\begingroup$ 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? $\endgroup$ – MarkS Mar 9 at 6:33
2
$\begingroup$

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:

enter image description here

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:

enter image description here

enter image description here

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ Even better: blender.stackexchange.com/q/44504 $\endgroup$ – brockmann Mar 9 at 8:45
  • 1
    $\begingroup$ True, that's way better - especially the Add-on in one of the answers $\endgroup$ – Manu Järvinen Mar 9 at 8:48
  • $\begingroup$ 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!) $\endgroup$ – MarkS May 5 at 8:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.