1
$\begingroup$

I have a command line script below that can render an image of frame 193 of a blend file using the default camera below, but how can I specify another camera view (specify which camera to use / render with) to use for rendering?

If a camera was called camera_1_setup I would render with the camera / camera view called camera_1_setup and it would render using that camera view.

#Render image in Cycles
blender -b /home/user1/Documents/blender/blenderfile1.blend -E CYCLES -o /tmp/frame_cycles_##### -f 193;
$\endgroup$
6
  • $\begingroup$ I have the same need, I've been looking for a while but haven't found a solution. In the end I am writing an addon to automate the rendering on multiple cameras. $\endgroup$
    – joaulo
    Feb 4 '20 at 9:47
  • $\begingroup$ By camera view do you mean orthographic/perspective, the camera views, that you get into with the numpad keys, just a different camera or something else? $\endgroup$
    – WhatAMesh
    Feb 11 '20 at 21:15
  • $\begingroup$ @WhatAMesh If a camera was called camera_1_setup I would render with the camera / camera view called camera_1_setup and it would render using that camera view. $\endgroup$
    – Rick T
    Feb 13 '20 at 5:26
  • 1
    $\begingroup$ I think the only way is using a python expression changing the scene camera. $\endgroup$
    – brockmann
    Feb 13 '20 at 10:56
  • $\begingroup$ @brockmann I guess executing a python script from the terminal prompt would work to, any examples? $\endgroup$
    – Rick T
    Feb 13 '20 at 11:20

Your Answer

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

Browse other questions tagged or ask your own question.