Page MenuHome

sculpt vertex color painting wrong saturation and value
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-23 21:54, hash: rB49234c15e299
Worked: (newest version of Blender that worked as expected)

Short description of error
[sculpt vertex color painting wrong saturation and value]

Exact steps for others to reproduce the error

  1. create a subdivided sphere
  2. Turn on shading mode to flat and color to vertex color
  3. paint in sculpt mode with strengh 1, color of the brush set to hsv h-0.5 s-0.5 v-0.5
  4. pick color from object, it will have different saturation and value ( color will be h- 0.5 s-0.271277 v-0.737255 )

[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Wed, Jun 24, 12:36 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

This is an issue when using the eyedropper from the color popover, I can confirm this.
The sample color operator works better S.
I find it also confusing that when loading Vertex Colors into Sculpt Vertex Colors (loop_to_vertex_colors), Vertex Colors display differently from Sculpt Vertex Colors.

There are more general issues about the Color Picker, this is an ongoing discussion, see T41287, T69562, rBS6601a89650f92454aa57bc01bedebd4086f6d98d, rB2b094be9493dd1022a5f07ed1a1cde69670474d8#264914 and many others.
This is still not my playground though, so I will have to hand over to @Pablo Dobarro (pablodp606), @Jeroen Bakker (jbakker)

Havent looked at code, not sure if Sculpt Vertex Colors are stored in the scene linear ref space? [think they should?]
And since the non-sculpt vertex painting does not suffer from this issue, I will confirm this.

I find it also confusing that when loading Vertex Colors into Sculpt Vertex Colors (loop_to_vertex_colors), Vertex Colors display differently from Sculpt Vertex Colors.

Issue also came up in T78187