Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPM emitter

Message 1 of 3
343 Views, 2 Replies

MPM emitter

Is it possible to make a custom emitter, or a particle emitter for MPM cloth? Right now I can only turn geo into mpm_cloth once the start frame is reached. And I just can't hook up make_mpm_cloth inside for_each loops. 


Is there a way to do this?

Message 2 of 3

This is quite easy using an iterate or for-each loop. You just need to make sure that you feed an array (NOT a 2D array) to simulate_mpm. With iterate, you can use a state port with build_array. With for-each, you can get the first element in array out of the cloth_source array, so that each iteration outputs a single objects (you are limited to one object so I recommend iterate instead).

Here is an example which continuously emit planes every 3 frames. It emits as much as plane as the number in max_iterations.

Bonus: it also apply a material with random color to each plane 🙂


Maxime Jeanmougin - Technical Artist

Join the Bifrost Addicts community on Discord:
Message 3 of 3

yesss. thanks maxime! I got it working! Didn't think about using iterate. Now I must get my head around fully understand what's going on 😄


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators