Page 1 of 1
Wire: Add a LUT colour mapper node
Posted: Sat Feb 12, 2022 01:53
by nattos
LUTs are amazingly useful, and it would be great to be able to use this easily in Wire.
Currently a workaround exists by using ISF nodes, but this isn't great.
Re: Wire: Add a LUT colour mapper node
Posted: Mon Feb 14, 2022 20:20
by edwin
A node purely dedicated for this purpose would indeed be useful.
Any specific way you think this should work?
For now you can use the Colorize node.
The Colorize node can take a Texture as palette which will serve as a lookup.
The Luminance of each pixel will be mapped against the palette.
See attached patch:
--begin-wire-patch--
834.3ocuUsraaqCD8WofqkBF9lz6hUSAJZWbAZ2EjExRzwBUVzPhpo4F3+8NTR1xIw4A58AWXKO9vyv4vyL5ARguowUDp7McjEW+.YcqeK9.Mg36C65CjaRHAOFARHUMCA1mbDF+.L3HNwDN3Q.EOGHR3t7ZWH3PjXvFeoCOCOPf3G4gPa0p9vXnpltPdSw3OB2uyQVPZ52tx0RRH+LutGCP2mP1hbbBjhM9pB2LDxeMkv8H1U99lxAB23ptcS.Y.TIj6pJCavmsxDxuHKjfMgbOYgUfaonNua77Thjo0JqlojoVI0jJtRYSMV6xTkZoISxzYpqVFysqsCkWxBXfAewOv89ypRmG+yBesuE+8ZboxAXHzPwFFRzp62MkxoRZk2WOWPqyq6b6G1SnMuKbBv0097vLR3BFLtXVCv3LVrfts0ce2WbtcuYFFP9cesqMdO7Z4gOlFJ0x.KyXU6O3bl2Tv8qPeqiUNuwl955AjndEdyiyAmyaSIBdSUYoCu.t9fbdZg+rRKZEy2FoLKd4T82ncIgP+SMkm0oYXyFMNLZzTuoOaI6RVpHilkZxDYoLKU9QsIKybk8epO68dA8H0bZdvQ856ia5CetIpX7mqXnW4tGact6jlytpaaxqIClf2gxBmWZklm0CK3CRKiqeYs0.bYpXc9pzbkwjJYbtoPsRnEl+UzV3osLh4R45qgKv9EsRnAEkxD3JI1HIMFFWIjTpvXM5DZB8lDbvIbgB3VFUZYLtTpjTKFyvobMSJsfF2olpNh1p.sQvoJPwrLDCFSG4VxAkliCDzT9qhVLlOsfKETMUKmQOvCyJLTiQanZLFnFVZfJ3JPvLinufMF2.HQQZnm8TCSnOWMdlrMg1xGWZrjrZEmE41nXZT9TRCCUPfNi9LmZgZ53ojbgwbxI4bbOpQbsjyDnCZj5adTCxSljDc1hyMFIZORKq15Z5FeO7QmxIAmcKT3lCiTgzQfy8swulaolbZH7VWmutOLXhe42O94Hoe3aSy75x2tqtp41WaGespwk29BuPMNZ6I8hL06nY7RwkWkJne5xTzcnvocvGkhkYR4R8+GMiIvga9+id5krISCPGTy3EVe63Lv86+MvnsIch
--end-wire-patch--
Re: Wire: Add a LUT colour mapper node
Posted: Mon Feb 14, 2022 20:42
by Arvol
I've been wanting to know how the palette mode works. Is the more luminance (0-1) what determines what color is used?
Palette Example:
Color 1: Red
Color 2: Blue
Color 3: Green
If a pixels luminance is .28 then that pixel get's colorized Red, if the next pixel's luminance is .6 then it will be Blue and if the next pixel's luminance is .78 then it gets colorized green.
Something like that?