RGB Blackbody Node Still Broken After The Fix #98036

Closed
opened 2022-05-11 07:39:26 +02:00 by Zijun Zhou · 10 comments
Contributor

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-10 06:30, hash: 08a39d32a9
Worked: None

Short description of error
I have reported a bug for RGB blackbody node and the bug report was closed as a duplicate of #68926, then a "fix" was committed: 029b0df81a

But it didn't actually fix the problem. I mentioned it in #68926 but Brecht request me to yet open another bug report.

Here it is.

Exact steps for others to reproduce the error

  1. Open the config.ocio file with any text editor, change the scene_linear role to any other spaces like XYZ and save file (I know using XYZ space as working space for light transport is a bad idea, this is just for testing purpose to make the problem pop. Any space other than Linear BT.709 should be fine to reveal the problem, just not as obvious).
    image.png

  2. Open Blender and open this .blend file:
    RGB Blackbody.blend

  3. Render it and save OpenEXR file. Import it to any software that can show you the imported file's chromaticity diagram, in my case Davinci Resolve:
    image.png
    You see that strange straight line there?

image.png

That's the edge of the Rec.709 triangle.

I believe this is due to the incorrect handling of 029b0df81a

Keep the existing Rec.709 fit and convert to other colorspace if needed

This is basically keeping the hardcoded Rec.709 part hardcoded, and add another hardcoded "From Rec.709" transform after it.

I believe the correct way to do it is to use the CIE XYZ for correct chromaticity and convert it to the needed RGB colorspace.

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-10 06:30, hash: `08a39d32a9` Worked: None **Short description of error** I have reported a bug for RGB blackbody node and the bug report was closed as a duplicate of #68926, then a "fix" was committed: 029b0df81a But it didn't actually fix the problem. I mentioned it in #68926 but Brecht request me to yet open another bug report. Here it is. **Exact steps for others to reproduce the error** 1. Open the config.ocio file with any text editor, change the scene_linear role to any other spaces like XYZ and save file (I know using XYZ space as working space for light transport is a bad idea, this is just for testing purpose to make the problem pop. Any space other than Linear BT.709 should be fine to reveal the problem, just not as obvious). ![image.png](https://archive.blender.org/developer/F12926242/image.png) 2. Open Blender and open this .blend file: [RGB Blackbody.blend](https://archive.blender.org/developer/F12926246/RGB_Blackbody.blend) 3. Render it and save OpenEXR file. Import it to any software that can show you the imported file's chromaticity diagram, in my case Davinci Resolve: ![image.png](https://archive.blender.org/developer/F13066950/image.png) You see that strange straight line there? ![image.png](https://archive.blender.org/developer/F13066952/image.png) That's the edge of the Rec.709 triangle. I believe this is due to the incorrect handling of 029b0df81a > Keep the existing Rec.709 fit and convert to other colorspace if needed This is basically keeping the hardcoded Rec.709 part hardcoded, and add another hardcoded "From Rec.709" transform after it. I believe the correct way to do it is to use the CIE XYZ for correct chromaticity and convert it to the needed RGB colorspace.
Author
Contributor

Added subscriber: @Eary

Added subscriber: @Eary
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@brecht: this seems legit, can you share your thoughts?

@brecht: this seems legit, can you share your thoughts?

Added subscriber: @awils27

Added subscriber: @awils27

What are your input, and output transforms set to in resolve and what is the timeline color space set to? Having any of these set to sRGB/Rec709 will hard limit the Chromaticity displayed in the scope even if the file itself contains more.

What are your input, and output transforms set to in resolve and what is the timeline color space set to? Having any of these set to sRGB/Rec709 will hard limit the Chromaticity displayed in the scope even if the file itself contains more.
Author
Contributor

Resolve setting is CIE XYZ since that is what the EXR was encoded in

Resolve setting is CIE XYZ since that is what the EXR was encoded in

This issue was referenced by a22ad7fbd3

This issue was referenced by a22ad7fbd391acc65b99336eae0df5c2a49553d9

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-05-23 22:23:12 +02:00

This issue was referenced by None@62933

This issue was referenced by None@62933
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
5 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#98036
No description provided.