Graph Editor: Add graph editor background color option
Issue
Fixes: #2370
- Add command line option for background color.
- Add UI menu option:
Graph->Backgroundto allow interactive color picking.
Changes
Add
--graphBackground <R,G,B>
command line option where <R,G,B> is the RGB background color with each channel in the range 0..1. If not specified the current default of 0.2,0.2,.2 is used.
Results:
-
Default:
-
Some sample colors:
-
Interactive change https://github.com/user-attachments/assets/e539c317-dd15-44c0-8ae6-1c015c6a76e1
@kwokcb I'm not opposed to this idea at all, but I wonder if @mialana's latest improvement to the color space of the Graph Editor UI makes this change less critical, as the default color scheme of the UI is now respected.
I posted a screenshot in related PR https://github.com/AcademySoftwareFoundation/MaterialX/pull/2413, giving a sense of how the Graph Editor UI now appears: