first entry in the new log, same topic as last time. colour transforms. this time the ui side of things, to make it actually possible to use. i took anna’s image here because it came up as an example of sky darkening:
if you select “data driven” mode in the colour
module, it’ll by default show four colours (white, pastel red, green, blue). these are anchored as identity transform, so the image didn’t change. if you now click on either of these, you can adjust the red and blue components (green will follow) in sliders that are appearing below the patches. the source and destination colours of the underlying radial basis function node point are visualised as center and frame around the button, respectively:
if you want slightly more accurate interaction, there’s a preset for colorchecker24 coordinates. it’s shipped as bin/data/colourcc.pst
and you’ll need to copy it to ~/.config/vkdt/presets/
first. i’ll do that during make install
at some point, or pick it up from where it is too. the preset menu opens via ctrl-p
:
and then the image can be edited just the same by altering the destination colour of the patches:
next, i’d like to wire a colour picker for the input colour. so far you can only change the destination. i figured that’s likely enough for a few more artistic use cases. for calibration with a test target shot you’d likely need the cc24 presets for the colour picker and maybe a setup that doesn’t need casual ui interaction so much. that’ll be some more generic colour picker interaction that would work with more modules though.