What would happen if I wanted to obtain a certain "high" number of Different Color Tones (..... Different Reds for example) without obtaining repetitions of the assigned RGB values? Is it possible to control that? (sometimes repeating values are obtained)--Thanks , usefull !
@learnvisualprogramming2 жыл бұрын
Hi @elcurvo, thanks for the question. We should think in terms of how RGB colours are constructed. First, to better understand this explanation, right-click on the Gradient and select the "Linear Interpolation" option. If we'd keep the hue angle stable at 0 degrees (red), we'd have 256 variations in brightness (adding black) and 256 variations in saturation (adding white). If the number of input parameters exceeds the limits of variation, the repeating values are returned. Additionally, if the input values are too similar, the gradient might assign the same RGB value to them. So, you could increase colour variation to accommodate all the items, or generate a unique colour code per item using "Colour RGB" under Display -> Colour. You may also find these two tutorials useful: kzfaq.info/get/bejne/q9t3ns5emsiVkZc.html and kzfaq.info/get/bejne/p517qcRentSdnYE.html (timestamp at: 09:52) Good luck!
@elcurvo2 жыл бұрын
@@learnvisualprogramming Thanks ! Greetings
@elcurvo2 жыл бұрын
Yes, i was seen today in these other video from you. Thanks !
@phanvuarch3 жыл бұрын
Great! Thank you so much.
@learnvisualprogramming3 жыл бұрын
Thanks for the comment, and we're glad you find our content useful.
@hoomantehrani624 Жыл бұрын
great
@ScottValentine Жыл бұрын
How do you sort by Index? Eg I have 8 generated breps, With Gradient Node I want give each brep a preview colour based on it's index. I cannot yet understand how to use an Index as a parameter. Maybe I'm not supposed to and I need to extract a parameter like volume and use that however, I suspect in future I'd like to understand how to control items using their Index. Thanks!
@ScottValentine Жыл бұрын
I just got it working with volume, no problem there. But again it would be nice to understand how to do it by index. My guess is it's just something simple I don't understand yet.
@learnvisualprogramming Жыл бұрын
Hi @ScottValentine, thanks for the comment. If you have a simple list, you can use 'List Length' (L1 input) and 'Item Index' (t input). The tutorial on the 'Item Index' is here: kzfaq.info/get/bejne/eMmKpr2KycumlKs.html You can also apply the same logic with a data tree, assigning a color for each path, by using the 'Tree Statistics'. Just don't forget to match the data structure.
@ScottValentine Жыл бұрын
@@learnvisualprogramming That worked great! Thanks! The audio on some of your videos is kind of low so even with the sound turned up it's hard to hear but I'm sure you've realised that now. Thanks for your help.