Page MenuHome

Spreadsheet: display byte colors as scene linear floats
ClosedPublic

Authored by Brecht Van Lommel (brecht) on Jun 29 2022, 4:35 PM.

Details

Summary

The compression as sRGB is mostly an implementation detail and showing the
integers does not make it clear what the actual values are that will be used
for computations in geometry nodes. This follows the general convention that
colors in Blender are displayed and edited in scene linear floats.

The raw sRGB bytes can still be viewed as a tooltip.

Ref T99205

Diff Detail

Repository
rB Blender
Branch
linear-byte-color (branched from master)
Build Status
Buildable 22772
Build 22772: arc lint + arc unit

Event Timeline

Brecht Van Lommel (brecht) requested review of this revision.Jun 29 2022, 4:35 PM
Brecht Van Lommel (brecht) created this revision.
Hans Goudey (HooglyBoogly) added inline comments.
source/blender/editors/space_spreadsheet/spreadsheet_layout.cc
348

This should probably use TIP_?

I think there's a chance we should generalize the tooltip handling in the future, but this feels fine for me at this point.

This revision is now accepted and ready to land.Jun 29 2022, 5:02 PM