3
$\begingroup$

I'm using a "File output" node to customize the output of my animation (separating object & shadow into two files for each frame).

I have set custom path for the File output node and subpaths for its inputs. This works fine.

But Blender also writes a second copy of the animation frames using the default "Output" setting in the main "Output properties" panel. How can I get rid of that?

So far the best thing I can do is to delete the output:

bpy.data.scenes["Scene"].render.filepath = "//ignore/"
#
# render the animations here...
#
shutil.rmtree('ignore')

enter image description here

$\endgroup$
4
  • 1
    $\begingroup$ Unfortunately you cannot disable the default output... I usually set the default to jpg. However, I'd consider using exr and piz encoding: blender.stackexchange.com/questions/148231/… if you are dealing with alpha you should consider exr anyway: blender.stackexchange.com/a/106671/31447 $\endgroup$
    – brockmann
    Aug 4, 2020 at 18:16
  • 1
    $\begingroup$ Have the same issue in the current Blender version and there is probably still no ideal solution. The default output can even accidentally overwrite the result of the File Output node if both are using the same file name and file format. $\endgroup$ Mar 27, 2021 at 9:11
  • $\begingroup$ Any solutions on this?. I'm working on a huge scene and this temporary files are anoying...extra work for disks... $\endgroup$ Sep 22, 2023 at 10:10
  • $\begingroup$ No. You could use the method in the answer below, it if still works. Or output in a folder and run a script that clears it out on a regular timer. Discussions have been happening on Blender's bug tracker, but so far no design solutions have been made. $\endgroup$
    – L0Lock
    Sep 25, 2023 at 3:17

1 Answer 1

4
$\begingroup$

I met the same problem and I think to found a temporary solution. Basically I though to use the directory of Windows RecycleBin as output ( C:\$Recycle.Bin\Cestino\ ...that is... C:\$Recycle.Bin\S-1-5-21-1238235524-1654077969-1323641347-1004\ ).

Unexpectedly the trash remain empty! …it doesn’t appears the renders files inside of trash, like this directory for Blender is a sort of implicit command to destroy immediatly the generated files! However…I hope it can be for all of you, a temporary solution, waiting for a real fix of this bug.

$\endgroup$

You must log in to answer this question.

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