indeed, certainly not saying it has to go into blender :) Just wanted an easy and fast way to get overlapping parts of alphas and such for an experiment. thought someone could find it interesting. Perhaps I'm not familiar enough with the other nodes, but i didn't see a really simple way to do all the tests i wanted to be able to do.
On Wed, Apr 20, 2011 at 1:29 PM, Xavier Thomas <[email protected]> wrote: > Hi Pete, > > In fact the math node (in the convertor category) does something similar. > It does not have the "pass if true" and "pass if false" socket but > it's output can be used as mask to achieve the same result. > > I personally think your node is redundant, maybe more effective in > terms of performances but also less flexible. > > It is a pity that we cannot do nodes plugins in C so that one can > distribute some specialized node, because bloating the sets of > defaults nodes (provided with Blender by default) is not really an > option too, it will confuse user too much. > > Xavier > > 2011/4/20 pete larabell <[email protected]>: >> not quite sure where this will end up, but it's working in it's >> current form, thought i'd share a quick render >> >> http://www.pasteall.org/pic/11269 >> >> basic idea is: >> >> if(op1.pixel **TEST_HERE** op2.pixel){ >> out.pixel = pass_if_true.pixel; //the 3rd input >> }else{ >> out.pixel = pass_if_false.pixel; // the 4th input >> } >> >> obviously that's pseudo-code. :) >> >> current tests available are ==, !=, >, <, >=, <= >> >> plan to allow full RGBA sockets for at least the bottom 2 inputs and >> output socket. >> >> Cheers! >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
