izo
Hi all,

I want to create... well this result (see gif):
Comp 1.gif 
I wanna use it for deformer weights but it's easier to visualize as rgbaPP, So basically I've tried with one big bounding object into an AT; set that to 1, set another to -1 and fed into ADC but with some weird artifacts, also have used the base weight and different modes on the ADC but haven't really managed to get it working, some times it looked promising but then sink wrecked it.  I can easily manage to do the reverse, but couldn't find a way to invert the result. Have looked at all the examples I could find on ADC but now I'm stuck so I'd love some help.

So basically, how would you create the above?
pshipkov
There is example scene showing exactly this effect. Check it out.
Reply 0 0
izo

Thanks for your reply, Peter.

I assume you're referring to "arrayDataContainer_1.ma"? While it creates the exact same effect, the difference is that in the example it's white on black, while I want to paint black on white.

So, to reiterate - how do I either...

* ...invert vertex colors?
* ...combine ATs and ADC to flood the geo with a value of 1, and then paint with a value of 0, which in turn decays?

I thought it'd be simple, but all attempts have been a little buggy so whatever I'm missing I'd love a hand.

Cheers /D

Reply 0 0
pshipkov
open the arrayDataContainer1.ma

createNode arrayExpression;
connectAttr arrayDataContainer1.outArray arrayExpression1.inArray;
connectAttr arrayExpression1.outArray arrayToPointColor.inRgbaPP;

inside the arrayExpression node type:
$E = 1-$E;

That's it.
Reply 0 0
Reply