MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

Graph Editor: Add graph editor background color option

Open kwokcb opened this issue 11 months ago • 1 comments

Issue

Fixes: #2370

  • Add command line option for background color.
  • Add UI menu option: Graph->Background to 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: image

  • Some sample colors: image image

  • Interactive change https://github.com/user-attachments/assets/e539c317-dd15-44c0-8ae6-1c015c6a76e1

kwokcb avatar May 07 '25 15:05 kwokcb

@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:

MaterialXGraphEditor_AlignedScreenColor

jstone-lucasfilm avatar May 24 '25 20:05 jstone-lucasfilm