saber
Hello Guys ,
im trying to figure out how to randomize the emition position of each particle ,but make them stick to the surface ,

similar to what the maya emit from surface would do  .

when using the PointcloudParticleEmitter ,and use the randomize Position ,it jitters all the particle in X Y Z ,and i wanna jitter them along the U and V of the surface but not change the hall shape of the geometry .

thanks for help in advance ,

Cheers
Saber
Reply 0 0
JeremyR
Im not sure how Peter has set the randomize position but if you want your particles to 'glue' to their emission points have a look at the scene 'brickWallDestroy3'. Check the goalU and goalV particle expressions for the 'LargeInstanceParticleShape' and 'pointCloudParticleEmitter2' to see how it gets its U and V.
Reply 0 0
pshipkov
the name of the node suggests that it works with points only. there is no notion of surface. to do what you asked about i would scatter points on the surface and if needed will transfer to them attributes from the original surface vertices, etc.
Reply 0 0
saber
hi peter,
the particle needs to be randomise but then they will get moved away from the surface ,
so your idea is to use the scatter to scatter points ,and then use those as emitter ?
i will try something anyway,

thanks for help
Reply 0 0
saber
hello 
i tryed the approach of using the scatter point to emit from,
it works but the only draw back is that its slower to perform ,and if the geometry chance shape and you have a high density scatter then its gonna kill the performance .

i think it would be definilty nice/useful to have randomisation on the PointCloudEmitParticle emitter .

Regards
Saber

Reply 0 0
JeremyR
Maya already has a solution for random surface emission.
Reply 0 0
saber
yes it does ,
but it doesnt provide what  PointCloudEmitParticle  offer on the other hand 
Reply 0 0
plarson
JeremyR wrote:
Check the goalU and goalV particle expressions for the 'LargeInstanceParticleShape' and 'pointCloudParticleEmitter2' to see how it gets its U and V.


If you don't mind me asking. Regarding the tx2Array.UVcoordPP>pointCloudParticleEmitter.userScalar>particleShape. Is it taking every mesh point's U/V location values, and on a per-emitter-point basis, passing them to all particles emitted from that point(to their userScalar1/2PP)? The pointCloudParticleEmitter automatically passes the checked values to the particleShape if the corresponding attributes have been added to the shape?
Reply 0 0
JeremyR
In the case of the example I think Ive written an expression like this...
goalU=userScalar1PP;
goalV=userScalar2PP;

So on emission they goal to their parentUV so to speak, if you have deforming mesh they will adhere to the surface then.
Reply 0 0
plarson
Thanks. From only looking at the connections, seeing how the pointCloudParticleEmitter works wasn't clear to me at first.
Reply 0 0
JeremyR
I can see your point, some of the connections are automatic if you just create the attribute thats all you have to do sometimes which is pretty cool.
Reply 0 0
Reply