1
$\begingroup$

When I render the order of the files are first all the frames 1, next the 2 and that, I want the name of the camera be on first of all for separate all by camera

(cameraview)name(frame).png How I can do it like that?

enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

Run this script in blender text editor:

import bpy

def name_set(scene):
    scene.render.filepath = 'path-to-the-file' + scene.camera.name+'_name_####.png'

bpy.app.handlers.frame_change_pre.append(name_set)
$\endgroup$
8
  • $\begingroup$ only rename the first camara multiview when render, and only render on the (C:) cant give custom path now hehehe $\endgroup$ Commented Jun 22, 2022 at 20:04
  • $\begingroup$ i think is posible make work if you edit the code for refresh every time a imagen is rendered $\endgroup$ Commented Jun 22, 2022 at 20:07
  • $\begingroup$ Hm... Try bpy.app.handlers.render_init or bpy.app.handlers.frame_change_post or bpy.app.handlers.render_write then $\endgroup$
    – Crantisz
    Commented Jun 22, 2022 at 20:55
  • $\begingroup$ still same, only print the first camara on rendering, and others names dont get change $\endgroup$ Commented Jun 22, 2022 at 21:17
  • $\begingroup$ frame_change_pre works for me with camera markers. $\endgroup$
    – Crantisz
    Commented Jun 22, 2022 at 21:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .