crocoraffe
Hello! How i can transfer radiusPP from one nParticleshape to another? making it like this:
nParticleShape1.radiusPP to attributeTransfer1.inRadiusPP, attributeTransfer1.outRadiusPP to nParticleShape2.radiusPP gives me an error:
// Warning: line 1: Connection from attributeTransfer1.outRadiusPP ---> nParticleShape2.radiusPP was not allowed.  You can only connect to a per-particle attribute from another per-particle attribute on the same shape or from an arrayMapper or particleAgeMapper node. what i am doing wrong?
Reply 0 0
izo
I might be incorrect but I think you need to involve the arraydatacontainer somehow, I'm not in front of maya right now but attributeTransfer alone seems to be not enough to do this.


Reply 0 0
David l
Here's a setup for transfering radiusPP from one particle system to another, there's a switch for deactivating permanent change in the runtime rules. Using permanent change requires constant particle count.

It could probably be faster using the new kdtree node, but I haven't figured that one out yet :)
Reply 0 0
crocoraffe
Thank you a lot! it helps me to understand logic of using attribut transfer
Reply 0 0
David l
crocoraffe wrote:
Thank you a lot! it helps me to understand logic of using attribut transfer
Your welcome, thinking of it, you can have varying particle count you just cant kill them :)
Reply 0 0
David l
Had some time to look at the kdtree node, it's very very fast compared to attribute transfer, test scene attached.
Reply 0 0
Reply