Blender Git Commit Log
Git Commits -> Revision bce924b
Revision bce924b by Antonis Ryakiotakis (master) March 12, 2014, 16:58 (GMT) |
HSL color wheel implementation. This is a standard Hue - Saturation - Lightness model (see for instance entry on wikipedia here: https://en.wikipedia.org/wiki/HSL_and_HSV) Note though the difference between HSV and HSL saturation, which are not the same. The advantage of having this color selection scheme is that artists can select shades and tints of a color easily by using the lightness slider. Also colors are arranged on (approximated) perceived lightness on the color wheel. Beware, Old files opened with this preference saved will crash! Reviewers: sergey, brecht, campbellbarton Differential Revision: https://developer.blender.org/D385 |
Commit Details:
Full Hash: bce924b43c4c5ff46eec7b340b68f37ae8e15215
Parent Commit: 35ed748
Lines Changed: +255, -53
11 Modified Paths:
/source/blender/blenlib/BLI_math_color.h (+4, -0) (Diff)
/source/blender/blenlib/intern/math_color.c (+86, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+63, -20) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+73, -20) (Diff)
/source/blender/editors/interface/interface_templates.c (+8, -2) (Diff)
/source/blender/editors/interface/interface_widgets.c (+12, -8) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+2, -1) (Diff)
/source/blender/blenlib/intern/math_color.c (+86, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+63, -20) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+73, -20) (Diff)
/source/blender/editors/interface/interface_templates.c (+8, -2) (Diff)
/source/blender/editors/interface/interface_widgets.c (+12, -8) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+2, -1) (Diff)