GN small color pick bug #102042

Closed
opened 2022-10-25 10:52:20 +02:00 by Alexey · 21 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 522.30

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-14 22:00, hash: bc06fcca47
Worked: (newest version of Blender that worked as expected)

Short description of error
2022-10-25 11-49-41.m4v

Exact steps for others to reproduce the error
not required

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 522.30 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-14 22:00, hash: `bc06fcca47` Worked: (newest version of Blender that worked as expected) **Short description of error** [2022-10-25 11-49-41.m4v](https://archive.blender.org/developer/F13764021/2022-10-25_11-49-41.m4v) **Exact steps for others to reproduce the error** not required
Author

Added subscriber: @pseudoua

Added subscriber: @pseudoua

Added subscriber: @mod_moder

Added subscriber: @mod_moder

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

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

In fact I see that even copying the color of a socket on the same node makes different colors. Not sure if that's how it's intended.
Despite the transparency, it was the same in 2.78

In fact I see that even copying the color of a socket on the same node makes different colors. Not sure if that's how it's intended. Despite the transparency, it was the same in 2.78

And I also checked. It looks like the only problem is how the nodes use color. As the color in the palette, and in other parts of the blender, everything is correct.

And I also checked. It looks like the only problem is how the nodes use color. As the color in the palette, and in other parts of the blender, everything is correct.

Added subscriber: @edward88

Added subscriber: @edward88

This is the same issue as in #99603 i think, or at least might be related

This is the same issue as in #99603 i think, or at least might be related

I tested this on a socket which is not transparent. And also, the color in the palette is similar. So yes, there may be a problem with transparency. But changing the background color does not affect the hue of the node. Which is strange to say the least.

I tested this on a socket which is not transparent. And also, the color in the palette is similar. So yes, there may be a problem with transparency. But changing the background color does not affect the hue of the node. Which is strange to say the least.

Yes. It looks like this is one problem. The only difference is that here and copying the color gives a broken color.

Yes. It looks like this is one problem. The only difference is that here and copying the color gives a broken color.

I've noticed that pure white does not get darker
In fact no rgb channel does if it's at it's max value

I've noticed that pure white does not get darker In fact no rgb channel does if it's at it's max value

In that report, the problem is darkening. Whether the white darkens is a detail that will help identify the problem. But this report still copies their information, only adding that the color is just as incorrect when copying as it is when drawing.

In that report, the problem is darkening. Whether the white darkens is a detail that will help identify the problem. But this report still copies their information, only adding that the color is just as incorrect when copying as it is when drawing.

@mod_moder yes this task is a duplicate, my comment was just an additional confirmation that this is indeed a real bug

@mod_moder yes this task is a duplicate, my comment was just an additional confirmation that this is indeed a real bug
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

I don't think both are similar. Here, color picked by eye-dropper is affected by some factor (check value in N-panel)
While #99603 describes differences between actual node color and the color shown in the panel
This result is from the basic test. I have not checked this yet from code side.

I don't think both are similar. Here, color picked by eye-dropper is affected by some factor (check value in N-panel) While #99603 describes differences between actual node color and the color shown in the panel This result is from the basic test. I have not checked this yet from code side.

So far I see the problem only in display and copy (from display)
2022-10-25 12-30-37.mp4

So far I see the problem only in display and copy (from display) [2022-10-25 12-30-37.mp4](https://archive.blender.org/developer/F13764398/2022-10-25_12-30-37.mp4)

@PratikPB2123 My assumption was that the color picker works correctly, it just picks up the darker color

@PratikPB2123 My assumption was that the color picker works correctly, it just picks up the darker color
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2022-10-25 12:03:04 +02:00
Member

Think these just need to be colormanaged, so PROP_COLOR_GAMMA

Think these just need to be colormanaged, so `PROP_COLOR_GAMMA`
Member

What I found is, color picker picks the correct color but the value later changes at the time of srgb -> linear rgb conversion.
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/eyedroppers/eyedropper_color.c$361

if (win) {
    /* Fallback to simple opengl picker. */
    WM_window_pixel_sample_read(wm, win, mval, r_col);
    IMB_colormanagement_display_to_scene_linear_v3(r_col, display);
  }

Findings might be wrong

What I found is, color picker picks the correct color but the value later changes at the time of srgb -> linear rgb conversion. https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/eyedroppers/eyedropper_color.c$361 ``` if (win) { /* Fallback to simple opengl picker. */ WM_window_pixel_sample_read(wm, win, mval, r_col); IMB_colormanagement_display_to_scene_linear_v3(r_col, display); } ``` Findings might be wrong
Member

This is indeed the same as #99603, will merge reports

This is indeed the same as #99603, will merge reports
Member

Closed as duplicate of #99603

Closed as duplicate of #99603
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#102042
No description provided.