Closed jerry-nz closed 1 year ago
Hi @jerry-nz,
thanks for your report. Your thoughts are great and this should work. Unfortunately it doesn't work because Blender (at its current state) saves the image only once per frame and not two times as we would expect. You can see the same behavior if you're rendering without Loom (Render > Render Animation): Even if both layers are rendered, only one is saved and the other one is lost in space.
If you want one image per viewlayer, Blender wants you to setup a comp like:
If you're lazy, you can also set the 'File Format' to 'OpenEXR Multilayer' (as you did) without the comp:
but this will automatically save both layers in one file (therefore called multilayer) and you'll have to 'unpack' the layers using any comp package of your choice. Unfortunatly you're getting some extra junk too (see both noisy layers):
Following file is set up to render one multichannel exr file to <vl-debug.blend>/render/vl_all_0001.exr
: vl-debug.blend.zip with Loom or even without it. If you want single files for each viewlayer, enable 'Use Nodes' in the header of the comp area. Does this help?
Regarding to the $VIEWLAYER
variable: Right now I don't see any way of using it the way we want it to, since this is out of the scope of what we can do with python. It would be really nice if this would work out of the box, but I think this is one of those Blender limitations we have to deal with...
Cheers, Christian
ah yep, dang software limitations! thank you for the in depth reply, Cheers!
Ez, glad I could help. Cheers, Christian
hi there!
i may have found a bug, but i admit i'm both new to blender and new to loom... please be gentle!
it looks like if i try to render via ctrl+shift+alt+F12 and select a single file that contains two viewlayers, both are seemingly rendered, but then only the last one is written to disk and labelled whatever the 'output' was set at time of saving the file.
it's like it needs a forced refresh when switching viewlayers or something...?
Cheers, Jeremy
here's my repro steps: -- have two viewlayers: -- have them both set to render: -- have the output path set to: D:\Work\training\blender\camera_tracking\render\cg\$VIEWLAYER\v07\$VIEWLAYER_v07. -- save the file -- hit ctrl+shift_alt+F12 and load the file: -- hit 'ok' and watch it render, noting it renders both viewlayers, but only writes to disk one.
-- further backed up by both not appearing on disk: