Hello, someone know, how change all layers color to grayscale? I want similar effect like by plotstyle grayscale but by using layer color.
It can be done if you process the Layer colors as RGB.
The formula to get the gray component of the RGB values is:
The RGB values are converted to grayscale using the NTSC formula: 0.299 ∙ Red + 0.587 ∙ Green + 0.114 ∙ Blue . This formula closely represents the average person’s relative perception of the brightness of red, green, and blue light.
The Arkance Systems Node Library contains nodes to get the Layer color in RGB. When you split the color in 3 different values, you apply the above formula to get a new value, which is the gray component. Then you create a new RGB color with three times this value.
More information and example code in C#, which explains the conversion:
If you need ACI colors, there are not many gray colors so you stick to a mapping, I guess.
Actually it triggered me to see how easy it would be, and it is: just 6 nodes.
Image before:
Image after (if not seen directly, use REGENALL command):
Yes, it’s works perfect. This is so simple
P.S I have your book, It is very useful for me (beginner user). Thanks!
Thank you too
Great stuff! Thank you for that!