Hi Guys, I am sure i have done this in the past and I know its possible.... If I have a custom node, and I have inputs for that node, how can I check if the input has a connection? i.e a value is connected to the specific input ... I'd like to set a flag somewhere so that I can do something else if there is a value…
yeah, checkin for black especially with min/max approach could be not working if you use negative pixel values in 32 bit calculations . For heigh combine for example. I once used an approach when I put transform node with manual mip level set to 10. It's a kind of quick blur my guess and a value processor after that . it…
It's "if.. else" and "greater" and such nodes in value and pixel processors. You set a simple logic if "if" input has greater than 0 then "else" input is passing through. But in many cases just having zero (black) empty input is enough by itself. if add math is used further for example.
So this is great thanks, i used your concept and am able to check if an image is connected by checking for black and using the MinMax node which works great, but i cant seem to set a variable / parameter with the result that will cause another input to appear or hide. I use a function to get a true/false value and set that…