Anim: rework bone colors #113941

Open
opened 2023-10-19 16:38:06 +02:00 by Sybren A. Stüvel · 0 comments

Bone Colors need an upgrade. The current issues:

  • One "bone color" consists of three color swatches: "regular", "selected", and "active".
  • Blender's theme contains a set of 20 bone colors. Given that they each have to define all three of these swatches, they can become hard to distinguish in the 3D Viewport. Using only hue to distinguish them is not enough, as colors then can get too visually similar. This means that brightness or saturation will also have to be used as a distinguishing factor, but that quickly results in the "selected" color of one being quite close to the "regular" color of the other. #112635: Proposal: New Bone Color Presets shows this quite well.
  • Custom bone colors also need these three color swatches, meaning they cannot be automatically adjusted for light & dark themes.
  • Blender's armature drawing code darkens the color from the theme, when drawing the bone's wireframe. This results in that riggers have to pick the "Regular" color swatch lighter than they want to, so that it shows correctly when Blender darkens it again.

The proposed solution:

  • Reduce what a "bone color" is to a single color swatch. This will be labeled as simply "the bone color".
  • Add theme colors for Solid, Wire, Selected, Active. The first two are used when bones are uncolored (i.e. "default" chosen as color).
  • Selected/Active bones' wire color is determined by the above Selected/Active theme colors.
  • Add a "Colorize Bone Selection" userpref option, off by default. When this is turned on, the Selected/Active wire colors are automatically computed by Blender from the bone color. This could be done by, for example, changing the apparent brightness to specific levels.
  • Remove the hard-coded -50 value offset in base colors so that WYSIWYG.
  • Add theme options for edit bone colors as well, instead of hijacking mesh edit theme colors.
  • Versioning: Can map old bone colors to similar colors of the new presets. (Not relevant for Custom Colors.)

Related:

Bone Colors need an upgrade. The current issues: - One "bone color" consists of three color swatches: "regular", "selected", and "active". - Blender's theme contains a set of 20 bone colors. Given that they each have to define all three of these swatches, they can become hard to distinguish in the 3D Viewport. Using only hue to distinguish them is not enough, as colors then can get too visually similar. This means that brightness or saturation will also have to be used as a distinguishing factor, but that quickly results in the "selected" color of one being quite close to the "regular" color of the other. [#112635: Proposal: New Bone Color Presets](https://projects.blender.org/blender/blender/issues/112635) shows this quite well. - Custom bone colors also need these three color swatches, meaning they cannot be automatically adjusted for light & dark themes. - Blender's armature drawing code darkens the color from the theme, when drawing the bone's wireframe. This results in that riggers have to pick the "Regular" color swatch lighter than they want to, so that it shows correctly when Blender darkens it again. The proposed solution: - Reduce what a "bone color" is to a single color swatch. This will be labeled as simply "the bone color". - Add theme colors for Solid, Wire, Selected, Active. The first two are used when bones are uncolored (i.e. "default" chosen as color). - Selected/Active bones' wire color is determined by the above Selected/Active theme colors. - Add a "Colorize Bone Selection" userpref option, off by default. When this is turned on, the Selected/Active wire colors are automatically computed by Blender from the bone color. This could be done by, for example, changing the apparent brightness to specific levels. - Remove the hard-coded -50 value offset in base colors so that WYSIWYG. - Add theme options for edit bone colors as well, [instead of hijacking mesh edit theme colors](https://projects.blender.org/blender/blender/issues/110874#issuecomment-1038531). - Versioning: Can map old bone colors to similar colors of the new presets. (Not relevant for Custom Colors.) ------------ Related: - #81744 - #112635 - #112943
Sybren A. Stüvel added this to the 4.1 milestone 2023-10-19 16:38:06 +02:00
Sybren A. Stüvel added the
Type
To Do
label 2023-10-19 16:38:06 +02:00
Sybren A. Stüvel added this to the Animation & Rigging project 2023-10-19 16:38:09 +02:00
Thomas Dinges removed this from the 4.1 milestone 2024-03-15 14:48:46 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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 Assignees
1 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#113941
No description provided.