Active Passive Cluster - MPM Solver

   757   3   2
User Avatar
Member
39 posts
Joined: Oct. 2015
Offline
Hello everyone..

I have a really straightforward problem, but I don't know why my passive particles won't become active through VEX.

I tried it with a collision, and it seems like some velocity or interaction can activate the particles.

Is there any way to switch the passive particles to active in MPM without any interaction?

Thanks in advance!

Attachments:
Active - Passive_Cluster.hip (356.0 KB)

User Avatar
Member
39 posts
Joined: Oct. 2015
Offline
any help ;( ?
User Avatar
Member
26 posts
Joined: Aug. 2021
Offline
Hello. I managed to find a workaround by doing the opposite of what feels intuitive and it solved the issue.
I noticed that MPM solver caches state changes on first frame and it constantly kept ignoring VEX conditions in passive state, both in SOPs and DOPs.
On MPM Source I initialized the particles as Active instead of Passive. On MPM Solver I disabled "Enable Auto Sleep". We ultimately want all particles to be simulated so we don't need it to interfere with states. In MPM Solver dive target, I forced particles to stay still until trigger condition is met by using VEXpression inside popdrag and popdragspin nodes. I also forced points to keep rest position as long as the condition is met.

I also appended a hip file. I hope it helps!

Attachments:
SIDEFX_ACTIVE_PASSIVE_CLUSTER_V01.hip (386.2 KB)
mpm_states_v1.mp4 (3.4 MB)
mpm_states_v2.mp4 (1.8 MB)
mpm_states_v3.mp4 (444.6 KB)

Italimpex Productions
CGI Studio specializing in directing and producing advertisements & films
User Avatar
Member
39 posts
Joined: Oct. 2015
Offline
Thank you soo much for your HIP and explain...
but bigger scale which i have , i was looking more efficient to use sleeping which calculation was faster
  • Quick Links