hanumant
Hello, SOuP community!

I just begin to learn SOUP, I find it very very useful, but unfortunately there are no good tutorials to cover all nodes. I found here http://mayaspiral.blogspot.com.au a lot of ideas but, its difficult for someone who begins to learn to apply it. I see the huge range of possibilities, but I really miss some information to realize it. So I have last hope it is your help.

I passed several days trying to reproduce these effect in the bottom of the page (http://mayaspiral.blogspot.com.au/2012/06/soup-particle-and-goal.html). Goals with 2-3 objects via AttributeTransfer.

I've created the particles and 3X attributeTransfer, assigned a global Goal PP (why global goalPP?).

nParticleShape1.goalPP=attributeTransfer1.outWeightPP;

Then I connect the Weights like this

nParticleShape1.goalWeight0PP=attributeTransfer2.outWeightPP;

Every attributeTransfer boundObject affects the goalweight of the particles inside it and move to the goal. The problem is that the particles still attracted by the goal even if the goals object is outside of the boundingObject.

I tried all possibles combinations, but I can't understand. Some important information is missing me!
I wrote to the author of the idea (can't call it tutorial), but he is not responding.


Thank you for any help. man.jpg
pshipkov
it does not matter where the goal objects are located. Important is the location of particles and bounding objects.
You can place a goal object a thousand units away but if the particle is crossing a bounding object that tells it - snap to the far away goal object - the particle will obey.
Reply 0 0
pshipkov
Your scene looks right to me in general.
Once you familiarize yourself a little more with how SOuP things work you will gain the freedom to further manipulate and fine tweak things.
Reply 0 0
hanumant
Thank you, Peter, for your responses and encouragements.


However, If it was like you say I wouldn't have no questions.
The problem is that the particles are still (partially or not) attached to the geometry even if the bounding object is away. On the image I've attached earlier we can see the object (figure) outside of boundingObject, but the particles are still attached to goal.

I understand it like this: BO (boundingObject) communicate to the particles the goalWeight, and if the particles are out of the BO they have no goalWeight. The same affirmation I can conclude from your words. But ..... (even in the simple scene I attach here) the particles are still attracted by previous goal, when the BO is far.

On the other hand, when the particles should lose their goalWeight0? When the goalWeight1 is communicated by another BO? But the problem is that the particles conserve BOTH weights simultaneously! And the particles are 'blocked' between 2 goal geometries. So how I kill the first goalWeight0? I tried to key the weights ( goalWeight0, goalWeight1) but it doesn't work.

I would be very appreciative for any help that touch the heart of actual problem.
Thanks.
Reply 0 0
pshipkov
Oh, i see what do you mean. Well there are many ways to achieve this. Here is one that i thought of first.
Replace your particle expression with this:

nParticleShape1.goalPP=1; // you can delete the boundingObject1 guy and set the entire goal thing to 1 - this way it will be faster for a lot of particles, otherwise leave the first line the way you have it
if(goalWeight0PP < attributeTransfer3.outWeightPP) goalWeight0PP = attributeTransfer3.outWeightPP;
if(goalWeight0PP > 0) goalWeight1PP = 0;
Reply 0 0
hanumant
Thank you, Peter!!

Second solution works fine!
I had no doubt that the AttributeTransfer is not a self sufficient node. Necessity to complete it with some expressions make it less accessible for those who is not familiar with...

I've already mentioned that there a many interesting examples here http://mayaspiral.blogspot.com.au, but many of them is impossible to reproduce because we miss either respective connection to made between nodes or an expression, or the both.
It would be great if someone who masters SOuP, complete those tutorials with missing information!

It could bring SOuP on more accessible level and make it more popular.

ps. I've ordered the T shirt, but don't think I merit to wear it! :))
Reply 0 0
pshipkov
Actually the problem is clearly with the way particles work in Maya.
We cannot connect anything to the array attributes on the particle nodes, otherwise the logic would be "external" and the particle node will do the moving of points only.

Of course the T-shirt will look good on you :)

And i completely understand what you are saying. I see that the lack of easy to fallow tutorials raises the bar significantly for people who want to taste the soup. Reality is - whenever i have time i prefer to sit down and write new tool or improve existing one, then provide example scene with few lines of text on the forums briefly explaining what is going on with the hope that somebody in the community will pick the flag and carry it for the rest - by creating tutorial or provide support.
It is a non-profit effort and support is scarce.
If you want - post a reply on that blog with the solution we found.

Thanks.
Reply 0 0
Reply