-
Notifications
You must be signed in to change notification settings - Fork 9
[FEATURE] Automatically save result in the user-defined output format #33
Comments
So here is the thing - the complete image should be processed by compositor... Probably it will be better to do on the Manager and prepare the composite result as a part of the task results. But also this could be done on the Addon side, which looks not so great idea, because the rendering automation should not require the Addon at all. |
Now Manager processing the task rendered EXR image and move it through the compositing process of the original scene blend project. It replaces RenderLayer node with Image node, switching it to "View Layer", relinking the RenderLayer outputs to the render image and removes the RenderLayer to render only composition. After that the compose result placed to the required image format and available as |
Unfortunately if the compositing is disabled for the scene and the required format is set to exr multilayer (with some low quality settings) - there is no way to convert produced render exr (top quality settings) due to the blender bug with saving (https://developer.blender.org/T71087, related to #57). So for now it will be just copy of the rendered exr to the compose one. |
Now the preview button operates with temp directory (which is removed with content when preview is closed). The results are downloading directly to the output path of the scene. When there is multiple tasks for the same frame - Addon uses the latest created task result to store the frame data. |
Testing on the clouds with minimum of resources showed inconsistency in the merging process, need to figure out what's heppening there. |
Bumped in some issues with the manager execution issues on aws, so had to rewrite the render merge process (now it's happening only when all the samples are received).
|
The issue with AWS looks like related to delay in loading the blend file:
That is leading to black screen instead of actual composed image (which is also weird, because at least the image should be rendered...) |
Hmm, also in the cache not much big exr files - only previews... Maybe rendering is working not well. |
Yeah, the agent is producing the weird 750KB black render scenes... But if I run the same process manually - it's fine 15M... |
Looks like it's not about the timings, this is a complete image here, not a part of it. |
And looks like it's not about not loaded blend file, seems it's just the way the process is running. Was able to reproduce from the agent, will near down to a minimal implementation. |
Seems the issue is not about the available memory. |
Closely look into the render file I see it's the same as preview - means probably the settings are not changing back from the preview properly... Maybe they are just stuck and not allowing the agent to save the full exr file... |
Yep, that was it) And the black screen I've got only because the test-project composition don't use image output, which is only existing on the one-layer exr... |
Even with the fixed render images it's still black on composing output... Checking the logic. |
Yep, there was an issue with providing the image path and blender can't load the render image for composing. After that I run into the issue with OOM on the manager and this is quite bad for the BlendNet architecture. Created the new ticket for that: #65 . For the current v0.3.0 the current solution should be just enough. |
Looks like the Manager is not moving error task away from the running loop. The next tasks are not going to be executed and stay in pending state, that should be fixed. |
Ok, the test-project denoising compose node requires > 1GB, so resulting with OOM. Skipping this node (use just glare node in between works well). If the OOM happening it's producing task info (available from UI) with the proper message for the user to use the bigger Manager VM. |
Is your feature request related to a problem? Please describe.
Users expecting the result in some specified format (png, jpg...), right now the user need to convert exr manually using blender.
Describe the solution you'd like
Probably it's possible to save the images if the output is set to supported image format, unfortunately I see no way to use some movie formats right now.
Affect to previous release
Users of 0.2 will be affected by this task, because instead of just storing the results as multilayer exr render files to user-defined format in the specified directory with the actual path.
The text was updated successfully, but these errors were encountered: