Math Add Node with infinite value inputs
when you need to add a dozen things together and use the sum you need to add like 11 math nodes because you can only add 2 things at a time.
when you need to add a dozen things together and use the sum you need to add like 11 math nodes because you can only add 2 things at a time.
10 Comments
Something like this would be amazing :)
imgur.com/a/OzojBJt
* @Tymski * Great idea!
same for mix nodes, and alpha over nodes.
But if so - it work same for
Subtract,Multiply, andDivide. Why just forAdd?* @IIIFGIII * This makes sense for functions where the order of operation does not matter.
Functions like subtract and divide are more questionable on how they would work.
* @LilacDogoo * It could just use the order of which they are from top to bottom couldn't it?
* @LilacDogoo * If you need divide 1 / 4 = 0.25 and then 0.25 / 2 = 0.125 so why not just use one node with 3 input if you folow logical order from first to next and do 1 / 4 / 2 = 0.125
* @IIIFGIII * I suppose it is just my opinion to see it as bad practice.
Where someone might write "a-b-c-d-e" I would instead write "a-(b+c+d+e)"
Same with division: "a/b/c/d/e" becomes "a/(b c d*e)"
It is rare to ever need to divide more than twice in a row.
Also, it is more efficient for a computer to Multiply rather than Divide. Maybe this would encourage people to have faster render times. Maybe..
Same for multiply I would like
That would be useful also extended to multiply and subtract, to make BOOLEANS operations