Open EXR layer bit depths differ in Output Properties and Compositor File Output #87988

Open
opened 2021-05-02 14:30:47 +02:00 by Saku Partamies · 7 comments

System Information
Operating system: Windows 10
Graphics card: RTX 2080

Blender Version
Broken: 2.92 release

Short description of error

I am not sure if this is considered as a bug, but as it is inconsistency in EXR file saving I report it here.

Open EXR file format can save different bit depths for different layers in one file and Blender supports this when render output is saved using main Output in Output Properties. This can be verified by saving a render with utility passes like Z-Depth. If output format it specified as 16bit (Half Float) other layers are 16bit, but Z-Depth and Vector layers are 32bit. This is wanted as those render passes are usually expected to be 32bit for compositing.

But if saving same render with same EXR settings from Compositor using File Output, then all render layers are saved 16bit. This is not good for compositing and would require specific utility passes to be saved as separate file using additional File Output node as 32bit. Both saving methods should produce same type of output to be consistent for user and better is to allow 16bit and 32bit layers to be saved in one file to make possible to minimize need of additional output files. At least user should have possibility to save 32bit layers in Half Float EXR file using compositor. Compositor File Output is often needed to rename output layers correctly for compositing pipelines.

Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable. This should follow same logic as Z-Depth that is saved as 32bit using Output Properties file save. So, Cryptomatte layers should be possible to be saved as 32bit in EXR no matter where saving is done and what is the main bit depth of the output file. This would be expected to avoid pipeline problems from 3D to compositing.

Attached image shows difference of 2 outputs.

Exact steps for others to reproduce the error

  1. Open attached blender_render_output_bit-depth.blend -file and render animation. File has just 1 frame animation range prepared for saving example files.
  2. It saves 2 files to /tmp/ -folder: One from Output Properties and one from Compositor File Output
  3. Open rendered files in image viewer that allows to see information of saved layers in EXR files (DJV).
  4. Compare bit depths of saved layers in images to see differences.

blender_render_output_bit-depth_layers.jpg

blender_render_output_bit-depth.blend

**System Information** Operating system: Windows 10 Graphics card: RTX 2080 **Blender Version** Broken: 2.92 release **Short description of error** I am not sure if this is considered as a bug, but as it is inconsistency in EXR file saving I report it here. Open EXR file format can save different bit depths for different layers in one file and Blender supports this when render output is saved using main Output in Output Properties. This can be verified by saving a render with utility passes like Z-Depth. If output format it specified as 16bit (Half Float) other layers are 16bit, but Z-Depth and Vector layers are 32bit. This is wanted as those render passes are usually expected to be 32bit for compositing. But if saving same render with same EXR settings from Compositor using File Output, then all render layers are saved 16bit. This is not good for compositing and would require specific utility passes to be saved as separate file using additional File Output node as 32bit. Both saving methods should produce same type of output to be consistent for user and better is to allow 16bit and 32bit layers to be saved in one file to make possible to minimize need of additional output files. At least user should have possibility to save 32bit layers in Half Float EXR file using compositor. Compositor File Output is often needed to rename output layers correctly for compositing pipelines. Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable. This should follow same logic as Z-Depth that is saved as 32bit using Output Properties file save. So, Cryptomatte layers should be possible to be saved as 32bit in EXR no matter where saving is done and what is the main bit depth of the output file. This would be expected to avoid pipeline problems from 3D to compositing. **Attached image shows difference of 2 outputs.** **Exact steps for others to reproduce the error** 1) Open attached **blender_render_output_bit-depth.blend** -file and render animation. File has just 1 frame animation range prepared for saving example files. 2) It saves 2 files to /tmp/ -folder: One from Output Properties and one from Compositor File Output 3) Open rendered files in image viewer that allows to see information of saved layers in EXR files (**DJV**). 4) Compare bit depths of saved layers in images to see differences. ![blender_render_output_bit-depth_layers.jpg](https://archive.blender.org/developer/F10049839/blender_render_output_bit-depth_layers.jpg) [blender_render_output_bit-depth.blend](https://archive.blender.org/developer/F10049841/blender_render_output_bit-depth.blend)
Author

Added subscriber: @SakuP

Added subscriber: @SakuP
Saku Partamies changed title from Open EXR bit depths different from Output Properties and Compositor File Output to Open EXR layer bit depths differ in Output Properties and Compositor File Output 2021-05-02 14:32:41 +02:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser self-assigned this 2021-05-04 09:55:50 +02:00
Member

Can confirm, will check on this

Can confirm, will check on this
Member

Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable.

Could you report this separately? Having only one issue per report makes the whole process easier.

> Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable. Could you report this separately? Having only one issue per report makes the whole process easier.
Author

In #87988#1155813, @lichtwerk wrote:

Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable.

Could you report this separately? Having only one issue per report makes the whole process easier.

My bad. I created new report just for the Cryptomatte bit depth. I wanted to edit my post here to overline Cryptomatte part of the report, but didn't know how to do it.

> In #87988#1155813, @lichtwerk wrote: >> Also related to same 32bit issue: Both save methods save Cryptomatte layers as 16bit if Half Float format is selected, but Cryptomatte must be 32bit to be usable. > > Could you report this separately? Having only one issue per report makes the whole process easier. My bad. I created new report just for the Cryptomatte bit depth. I wanted to edit my post here to overline Cryptomatte part of the report, but didn't know how to do it.
Philipp Oeser removed their assignment 2022-01-18 21:08:59 +01:00
Member

Will have to concentrate on triaging for a while (and step down).

Will have to concentrate on triaging for a while (and step down).
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:49 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87988
No description provided.