agentfx
getting back into SOUP doing some research/testing... anywhoo

getting to know scatter,
The scattered points don't seem to be particles. They're just points. I mean there's no particle shape. Ok just points, then you can do with things with them like attrTransfer into pointCloudFluidEmitter. Cool, but is there a way to scatter particles like a custom emitter?
--Dave
Reply 0 0
pshipkov
Yeah, they are just points, no particles.
One of my top items on the to-do list is pointCloudParticleEmitter. That will do exactly what you are looking for.
Otherwise you can hack it to make particles stick to the scattered points, like this:

in the particle shape you set an expression to the "maxPoints" attribute like that:
maxPoints = size(`getAttr scatter1.outPositionPP`);
then in the postDynamicExpression you type this:

float $p[];
if(id == 0)
    $p = `getAttr scatter1.outPositionPP`;
position = <<$p[id*3], $p[id*3+1], $p[id*3+2]>>;

this will make the particles to stick to the scattered points.

Also don't forget to crank-up the emitter rate so you reach the max number of points in one frame (if needed).

Reply 0 0
cloud68
I use pointCloudToCurve node to take those points from scatter node and spit it out to a curveShape.

From there you can plug a nurbsCurveShape.worldSpace[0] into a particleShape.inputGeometry.


It's actually in some of the example files

I love SouP

Reply 0 0
pshipkov
Right, thanks for reminding us.

Reply 0 0
JeremyR
pointCloudParticleEmitter is a node Id love to see in SOuP (yeah yeah says Peter) ;) Imagine having dynamic emission based on collisions?! (point proximity really), with no more expressions now thats a good thing.
Reply 0 0
noizfactory
cloud68 wrote:
I use pointCloudToCurve node to take those points from scatter node and spit it out to a curveShape.

From there you can plug a nurbsCurveShape.worldSpace[0] into a particleShape.inputGeometry.


It's actually in some of the example files

I love SouP



I do the same too, although I directly hook the pointCloudToCurve to particleShape.inputGeometry. Love the instant particle updates whenever I update the stream above.
Reply 0 0
Reply