16

I know I can set the render border with Ctrl+B and dragging a box. But is there a way I can exactly specify the border dimensions?

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
PGmath
  • 25,106
  • 17
  • 103
  • 199

2 Answers2

27

You can access the render border values via the outliner if you change its display mode to 'Datablocks':

enter image description here

You can then navigate through the tree structure of the outliner to the border values via Scenes> Scene (may be different depending on the name of your actual scene)> Render Data:

enter image description here

The border values can be set from 0-1, so unfortunately you can't set exact pixel coordinates without some maths. 0 is the left side of the camera and 1 is the right side of the camera for the 'x' values (or the bottom and top sides of the camera for the 'y' values).

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
  • Perfect, that's exactly what I was looking for. I actually prefer this way as opposed to pixel coords. – PGmath Jan 08 '16 at 16:25
  • exactly what I needed in 2022. Same location, but now the Outliner is called Collections. Collections Panel > Scenes > Scene > Render Data > Render Data > Render Region. – hatinacat2000 Jun 04 '22 at 04:04
  • @hatinacat2000 I'm glad it still helps, but the Outliner has not been renamed. – Ray Mairlot Jun 05 '22 at 13:30
18

For more control I've written an Add-on which allows to set the Render Border in Camera View:

enter image description here

Install the Add-on via File > User Preferences > Add-ons. Once it's enabled, use Ctrl+B in the Camera View (Numpad 0), select the Camera and go to Properties > Data > Render Border.

Half size

enter image description here

Shifting the box

enter image description here

Repository: https://github.com/p2or/blender-renderborder

brockmann
  • 12,613
  • 4
  • 50
  • 93
p2or
  • 15,860
  • 10
  • 83
  • 143
  • 1
    Helpful addon! It's still a bit clunky to set it up to render out a section of an image at a fixed size, but infinitely easier than doing it without the addon. – MrFlamey Feb 03 '17 at 02:56
  • This looks great! Before I start digging deep in the code: would it theoretically be possible to write an addon which lets you draw a custom shape for the render border? My use case is as follows: I have a nice shot but it contains also a great part of a white wall. So I'd like to set an L-shaped render border which leaves out the wall. – Vincent Jan 13 '21 at 13:16