CRYPTOMATTE has missing with compression #78509

Closed
opened 2020-07-01 19:18:17 +02:00 by Semyon · 11 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: Quadro M1000M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66

Blender Version
Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: 8289fc688b
Worked: (newest version of Blender that worked as expected)

Short description of error
[Render in default out in "scene", open openmultiexr in Nuke (psyop is updated). Crptmt and metadata loss if file have compression.
But. in this scene unknown asset will destroy cryptomatte and metadata - dont matter have compression or not]

Exact steps for others to reproduce the error
[Start render.
Open file in Nuke.
See have no metadata and crptmt]
CRYPTO_TEST.blend

Addition file - alembic to foot https://yadi.sk/d/RRpBiJYdFmQS7w

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: Quadro M1000M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66 **Blender Version** Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: `8289fc688b` Worked: (newest version of Blender that worked as expected) **Short description of error** [Render in default out in "scene", open openmultiexr in Nuke (psyop is updated). Crptmt and metadata loss if file have compression. But. in this scene unknown asset will destroy cryptomatte and metadata - dont matter have compression or not] **Exact steps for others to reproduce the error** [Start render. Open file in Nuke. See have no metadata and crptmt] [CRYPTO_TEST.blend](https://archive.blender.org/developer/F8657630/CRYPTO_TEST.blend) Addition file - alembic to foot https://yadi.sk/d/RRpBiJYdFmQS7w
Author

Added subscriber: @Wizard_Semyon

Added subscriber: @Wizard_Semyon
Author

Now cryptomatee can export in nuke only if

  1. File save in "file-save picture..." but we need can save sequence.
  2. "save buffers" off
  3. color rgb
  4. color depth full

But we need to working in settings
1, render sequense
2 save buffers on
3, color rgba
4. color depth hulf

Now cryptomatee can export in nuke only if 1. File save in "file-save picture..." but we need can save sequence. 2. "save buffers" off 3. color rgb 4. color depth full But we need to working in settings 1, render sequense 2 save buffers on 3, color rgba 4. color depth hulf

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Are you sure this is a problem in Blender and not Nuke?

Otherwise you can report this on their bug traker:
https://support.foundry.com/hc/en-us/articles/207753085-Q100068-Using-the-Bug-Tracker

Are you sure this is a problem in Blender and not Nuke? Otherwise you can report this on their bug traker: https://support.foundry.com/hc/en-us/articles/207753085-Q100068-Using-the-Bug-Tracker
Author

We try to work with instruction od updated psyop. It isnt Nuke's trouble. Blender is dont write data in every time.
Shortly - yes, we sure (command of film developers.)

We try to work with instruction od updated psyop. It isnt Nuke's trouble. Blender is dont write data in every time. Shortly - yes, we sure (command of film developers.)
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Cryptomatte and metadata loss if file have compression.

If it is lossy compression, yes. I used ZIP and had no issue.

Nuke_screenshot.png

In #78509#971003, @Wizard_Semyon wrote:
Now cryptomatte can export in nuke only if

  1. File save in "file-save picture..." but we need can save sequence.
  2. "save buffers" off
  3. color rgb
  4. color depth full

But we need to working in settings

  1. render sequence
  2. save buffers on
  3. color rgba
  4. color depth half
  1. I have no issue rendering your test file as an animation sequence.
  2. Still investigating this issue, might be a legit bug, or at least an undocumented limitation.
  3. I have no issue using color RGBA
  4. Cryptomatte requires 32bit float aka full color depth.

(NOTE) Hash: Only​​ one ​​hash​ ​is ​​currently ​​supported,​​ the​​ 32 ​​bit ​​variant ​​of ​​MurmurHash

(NOTE) Floating point conversion:
We store our IDs as 32 bit floating point values. While not ideal, this is necessary for a
variety of software specific reasons.

https://raw.githubusercontent.com/Psyop/Cryptomatte/master/specification/cryptomatte_specification.pdf

> Cryptomatte and metadata loss if file have compression. [If it is lossy compression, yes.](https://github.com/Psyop/Cryptomatte/issues/35) I used `ZIP` and had no issue. ![Nuke_screenshot.png](https://archive.blender.org/developer/F8664210/Nuke_screenshot.png) > In #78509#971003, @Wizard_Semyon wrote: > Now cryptomatte can export in nuke only if > 1. File save in "file-save picture..." but we need can save sequence. > 2. "save buffers" off > 3. color rgb > 4. color depth full > > But we need to working in settings > 1. render sequence > 2. save buffers on > 3. color rgba > 4. color depth half 1. I have no issue rendering your test file as an animation sequence. 2. Still investigating this issue, might be a legit bug, or at least an undocumented limitation. 3. I have no issue using color RGBA 4. Cryptomatte requires 32bit float aka full color depth. > (NOTE) **Hash:** Only​​ one ​​hash​ ​is ​​currently ​​supported,​​ the​​ 32 ​​bit ​​variant ​​of ​​MurmurHash > (NOTE) **Floating point conversion**: > We store our IDs as 32 bit floating point values. While not ideal, this is necessary for a > variety of software specific reasons. https://raw.githubusercontent.com/Psyop/Cryptomatte/master/specification/cryptomatte_specification.pdf
Author

I tryed render like your say, cryptomatte in no changed.
Find only metadata. Crtmt is broken. 2020-07-04_20-24-22.png

Settings

  1. RGBA, color depth full, zip, save buffer no, out in scene multiexr
  2. RGB, color full, zip, save buffer no, out in render window - file-save as...
  3. rgba. color full. zip, save buffer no, out in render animation

Please, can you write your settings?
If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you!

I tryed render like your say, cryptomatte in no changed. Find only metadata. Crtmt is broken. ![2020-07-04_20-24-22.png](https://archive.blender.org/developer/F8664246/2020-07-04_20-24-22.png) Settings 1. RGBA, color depth full, zip, save buffer no, out in scene multiexr 2. RGB, color full, zip, save buffer no, out in render window - file-save as... 3. rgba. color full. zip, save buffer no, out in render animation Please, can you write your settings? If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you!
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Evan Wilson self-assigned this 2020-07-06 11:06:33 +02:00
Member

Please, can you write your settings?
If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you!

I was traveling without my computer, so I couldn't tell you until now.
RGBA, color depth full, zip, save buffer no, out in render animation are my settings. When I was testing this days ago, I was seeing an image like yours, with only 2 colors. Today I tried a few things with your file, and I think the issue is that you are using the compositor in Blender with nothing attached from the Render Layers node to the Compositor Image output. Also the Alpha channel isn't connected, and Use Alpha boxes aren't checked in your file. connected_imagealpha.png Attaching the Image, Alpha, and checking the box makes it work for me in Nuke.

As this is the Blender bug tracker, I will close this report since the issue with compression is a cryptomatte issue and not a Blender specific one. I will test the save buffers issue a little longer, then will open a new report about it and tag you in it.

> Please, can you write your settings? > If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you! I was traveling without my computer, so I couldn't tell you until now. RGBA, color depth full, zip, save buffer no, out in render animation are my settings. When I was testing this days ago, I was seeing an image like yours, with only 2 colors. Today I tried a few things with your file, and I think the issue is that you are using the compositor in Blender with nothing attached from the Render Layers node to the Compositor `Image` output. Also the `Alpha` channel isn't connected, and `Use Alpha` boxes aren't checked in your file. ![connected_imagealpha.png](https://archive.blender.org/developer/F8669493/connected_imagealpha.png) Attaching the Image, Alpha, and checking the box makes it work for me in Nuke. As this is the Blender bug tracker, I will close this report since the issue with compression is a cryptomatte issue and not a Blender specific one. I will test the `save buffers` issue a little longer, then will open a new report about it and tag you in it.
Author

In #78509#973685, @EAW wrote:

Please, can you write your settings?
If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you!

I was traveling without my computer, so I couldn't tell you until now.
RGBA, color depth full, zip, save buffer no, out in render animation are my settings. When I was testing this days ago, I was seeing an image like yours, with only 2 colors. Today I tried a few things with your file, and I think the issue is that you are using the compositor in Blender with nothing attached from the Render Layers node to the Compositor Image output. Also the Alpha channel isn't connected, and Use Alpha boxes aren't checked in your file. connected_imagealpha.png Attaching the Image, Alpha, and checking the box makes it work for me in Nuke.

As this is the Blender bug tracker, I will close this report since the issue with compression is a cryptomatte issue and not a Blender specific one. I will test the save buffers issue a little longer, then will open a new report about it and tag you in it.

God bless you!

> In #78509#973685, @EAW wrote: >> Please, can you write your settings? >> If we fix cryptomatte in blender out, we will make serial in it, its very important for us. Thank you! > > I was traveling without my computer, so I couldn't tell you until now. > RGBA, color depth full, zip, save buffer no, out in render animation are my settings. When I was testing this days ago, I was seeing an image like yours, with only 2 colors. Today I tried a few things with your file, and I think the issue is that you are using the compositor in Blender with nothing attached from the Render Layers node to the Compositor `Image` output. Also the `Alpha` channel isn't connected, and `Use Alpha` boxes aren't checked in your file. ![connected_imagealpha.png](https://archive.blender.org/developer/F8669493/connected_imagealpha.png) Attaching the Image, Alpha, and checking the box makes it work for me in Nuke. > > As this is the Blender bug tracker, I will close this report since the issue with compression is a cryptomatte issue and not a Blender specific one. I will test the `save buffers` issue a little longer, then will open a new report about it and tag you in it. God bless you!
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
3 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#78509
No description provided.