0
$\begingroup$

My question is related to this question, in fact I use a compositing node to add a background image to the scene and it stays centered in each rendered image, what I don't want.

This is the py code I'm using;

scene.render.use_border = True
scene.render.use_crop_to_border = True
scene.render.border_max_x = .5
scene.render.border_min_x = 0
scene.render.border_min_y = 0
scene.render.border_max_y = 1
scene.render.tile_x = 32
scene.render.tile_y = 32

Maybe I can add a similar code for the background image but I don't know enough blender python api.

$\endgroup$
1
$\begingroup$

I stopped searching, I created a plane with the background image as a texture and make the camera as parent, I put it far with an emissive shader node and far enough not to emit on my scene object, in another render layer.

This way instead of an texture layer and a render layer, I have two render layers subject to the scene.render.border.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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