Kornelius
Hello everybody!!

I'm trying to drive the peak weights through 2 arrays, one is a b/w ramp working as mask for another array coming from the compute velocity node.
They both get into the arrayblend node and I'm filtering just one of the three axis from the compute vleocity node with a "splitRgba" node.

Everything is working and everyone is happy, but I can't get my mind around a behaviour of the arrayBlend node.

Why if I filter one of the velocity axis with the rgbSplit node BEFORE the arrayBlend node, the result from the blend is erroneous (0 for all the components)??


Screen and scene attached.



cheers guys!

arrayBlend2peak.jpg
win 7 maya 2014 x64
Reply 0 0
noizfactory
Not near a PC right now so can't check your setup but could you try using arrayToArray instead of the splitRgba node and see if that works for you?
Reply 0 0
Kornelius
Hi noiz, I've tried as you've suggested, replacing the "splitrgba" with "arraytoarray"; in vector mode the result is a vector that I still have to filter to a single value (is there another node apart from "splitrgba" that does this??), in point mode I get a single value per component, which is what I'm looking for, but it always returns 0, no matter what the reading combination is.

So far the "splitrgba" is still doing the trick, but only if placed after the arrayBlend node and note before, which is what I can't really comprehend!!
win 7 maya 2014 x64
Reply 0 0
Pizzaman
Agree with Kornelius, I get the same strange behaviour whereas using a point node with a simple multiply does the trick.
Maybe the data output by the computeVelocity doesn't match what the splitRGBA is expecting.
Reply 0 0
pshipkov
There is a little problem in your scene. Run this:
connectAttr -f pPlaneShape1Orig.worldMesh[0] computeVelocity1.inGeometry;

There was a little bug in the arrayBlend node that causes undesired result in some cases - particularly yours. I fixed it - it will be in the next update.
Reply 0 0
Kornelius
Thanks for the support!!!

cheers,

Simo.
win 7 maya 2014 x64
Reply 0 0
Reply