Community
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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPM emitter

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
doppelgaenger_digital
323 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?

2 REPLIES 2
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 🙂

mpm_cloth_continuous_emission_0.jpg
mpm_cloth_continuous_emission_2.jpg
mpm_cloth_continuous_emission_2.jpg

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
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