Page MenuHome

Cleanup: Explicit Colors
Confirmed, NormalPublic

Description

Annotating colors in BLI_color.hh with the goal that it becomes more clear in the code what color and alpha association is used.

See https://devtalk.blender.org/t/proposal-explicit-colors/

  • Changes to BLI_color.h + migration of existing code (Function + Geometry nodes): D10978: Blenlib: Explicit Colors.
  • Compostor: Is already CPP and some operations use color space conversions.
  • Color picker: There is an effort to move more UI code to CPP Color picker is one that would benefit in readability.
  • Draw manager: Although this is in limited places.
  • Blenkernel: blenkernel (colorband, gpencil, image_gen, studiolight) seems like small tweaks.

Related Objects

Event Timeline

Jeroen Bakker (jbakker) changed the task status from Needs Triage to Confirmed.Mon, Apr 19, 7:30 AM
Jeroen Bakker (jbakker) created this task.