ryanchen

Hi this is my first time using the SOUP.

I tried to scatter points from a poly surface and instance geo.

I used "arrayToDynArrays" to trans normal to aimDirection and tangent to aimUpAxis attributes. But instance node only take one input on "input points".

Is there any node i can use to merge those attributes together (position, aimDirection and aimUpAxis) so i can plug them into instance node?

 

(and some how the scatter point will slice away if i try to scatter from an animation character...)

 https://drive.google.com/open?id=0B8H78A8W8PycRkVhdi1aRGRWWlE

Reply 0 0
David l
Arraytodynarray nodes have an indynamicarray attribute use this to chain them together and end with an instancer.
The order in which you connect them together doesn't matter.
Hope this helps :)
Reply 1 0
ryanchen

Thanks a lot David.

Still trying to figure out why my scatter points moving around the surface lol

Reply 0 0
David l
Scatter will not follow mesh deformations so you have 2 options:
1. Bake scattered points to a nurbs curve and wrap deform that curve to your animated character. Use the cvs from the wrap deformed nurbs curve as source for your instancer setup. This is fast but breaks the ability to tweak point count etc.
2. Use mesh2arrays node instead, this node has two mesh inputs, one for the restpose and one for the deformed pose, but lacks a lot of features from the scatter node.
Im not infront of maya so havent looked at your file, but hope it can push you in the right direction :)
Reply 1 0
pshipkov
Check the attached file.
Reply 0 0
ryanchen

Thank you sir!

I cant find the mesh2arrays node...but the first way works reallllly well thx bro ur my life saver.

:)

Reply 0 0
Reply