Maya 2016 / nParticle Instancer / Make a goal for each particle to its own instance

37 views
Skip to first unread message

francois bonnard

unread,
Feb 20, 2017, 3:38:03 PM2/20/17
to maya_he3d
Hello Guys

Excuse my french. Here is the case :

1. I have created 220 particles with a first goal. (a curve)  
2. Particle instancer : each particle is linked with its own instance 

-> runtime  after dynamics :

if (nParticleShape1.age>4)

{

nParticleShape1.MyIndex = nParticleShape1.particleId +1;


}


3. Now I would like to assign for each particle a new unique goal, which is the position of its "instance plane" 


I have attached the file and here is a rendered picture. You can see the bouquet of Particle above, and below the original plane which were used for the particle instancer. Actually i would like that each particle matches with its original plane (hope it is clear)


Any idea ?


Thanks


François



to discuss with group.mb

Hernan S

unread,
Feb 20, 2017, 6:12:18 PM2/20/17
to maya_he3d
do you have 2016.5? if so you could do that with Mash in no time. 

Francois Bonnard

unread,
Feb 20, 2017, 6:27:10 PM2/20/17
to maya...@googlegroups.com
2016 :-(

--
You received this message because you are subscribed to a topic in the Google Groups "maya_he3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maya_he3d/W-dBnY4ytZs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maya_he3d+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Cordialement
François Bonnard
Président Géosésame
Centre d'innovation technologique - Rue Louis aragon - BP64 - 50130 Cherbourg-Octeville - Cell : 06 81 43 15 92



Philip Child

unread,
Feb 22, 2017, 1:35:26 PM2/22/17
to maya...@googlegroups.com
Sounds like SOuP would help you out here. You can use the mesh2arrays node to create your unique plane positions then store these as PP birth goalU, goalV values for each particle. You'll likely need to use a closest UV on mesh to get these initial values though as, from memory, mesh2arrays doesn't provide that. The SOuP scatter node may also be helpful for this.
If you aren't too fussy about the proximity of the particles (to each other) on your plane I think that even the humble Maya emitter has some overlap culling that could be used for this.

Philip

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages