jeinselen / VF-BlenderAutosaveRender

Automatically saves a numbered or dated image after every render and can extend the Blender output path with dynamic variables.
GNU General Public License v3.0
76 stars 6 forks source link

multilayer exr does not export the layers. #1

Open MaxPuliero opened 2 years ago

MaxPuliero commented 2 years ago

Hi,

Thanks for the addon, very helpful. One problem is that it looks like it doesn't export the layers when multilayer EXR preset is selected.

Thanks.

jeinselen commented 2 years ago

Thank you @MaxPuliero for catching this error and reporting it! And I'm so glad you're otherwise finding it helpful.

After some research, it appears this is a known issue in the Blender Python API. Unfortunately I've not found any reasonable workarounds. Until this is fixed in Blender, I've had to update the add-on and documentation to better reflect reality; if the multilayer EXR format is selected in the scene settings, only a single layer EXR can be saved from the plugin.

The latest release, version 1.5.2, will now display a warning if both Project Setting is chosen for the Auto Save Render file format, and the scene output panel is set to OpenEXR MultiLayer.

Potentially good news in the meantime, albeit only for super specific situations; if you are trying to automatically name final renders with the currently selected object or similar data, you can use the same dynamic variables directly in the output panel. Just make sure "Process Output File Path" is enabled in the plugin preferences. You will also need to set your start and end frames to the same number, but that will let you use the standard Blender Render Animation command to get similar automatic render naming functionality. Definitely not convenient for most situations, but maybe it helps?

MaxPuliero commented 2 years ago

Thanks for the reply. I'm building a little software by myselt that relies on this automatic save (which is already amazing, also for the ability to choose the name pattern). Let's hope that in the future they will fix it.

Keep it up! best Max