pechart
Hi!

For now I used the old style particles in my setups for the most time, because I needed the interpolation of the caches when it comes to scene timewarping.

Now I want to use nParticles for some reasons.

I just read the point data (rgb, normal, position) of a polyplane with an attribute transfer and pipe that to the particles. The particles drive an instancer. This worked well with this connections:

attribTransfer.outPositionPP >> pointCloudToCurve >> particle.InputGeometry;
attribTransfer.outPositionPP >> arrayToDynArrays >> newParticles

When I connect this to the nParticles in the same way it doesn't work. Maybe someone could tell me, what I'm doing wrong here, because I'm fiddling around with this for some time now. Thanks!


pshipkov
Can you give us a scene please ?
Reply 0 0
noizfactory
Interestingly, the nParticle seems to work with this method only when you combine both the newParticle and inputGeometry workflow. But you have to create the nParticle using the default emitter example and then delete the emitter. For some reason the nParticles don't work if you do a createNode nParticle. That's probably because the nParticle node is not connected to the nucleus in that method (you can delete the nucleus node and the nParticle will stop updating).

I'm posting the same example file from your other thread pechart, this one has another nParticle system to illustrate this example. But with this setup we don't seem to need the run time expression for the position to get updated.
Reply 0 0
pechart
Ouch, okay. I always create my nodes directly in the node editor since it became available - I will try the emitter way. 

Quote:
But with this setup we don't seem to need the run time expression for the position to get updated.

Yes, that works with the old style particles, too. I was using this before and thought it was the regular way to go. Thanks again!


EDIT: With the emitter it works. Grrr.
Reply 0 0
pshipkov
I think the correct way to create particle/nParticle nodes is by using the related commands:
particle();
nParticle();
That way you don't have to do extra work to make them behave properly.

Reply 0 0
noizfactory
Thanks for that info! Leant something new today!
Reply 0 0
pechart
Thanks, very useful!
Reply 0 0
Reply