Displacing bubbles / Meshing Bubbles

I did a quick search but couldnt find anything about this topic.

I find the bubbles a little to perfect and round and would like to displace them a little bit. I am trying to make them as if they hang on to the object in the simulation and so change their shape a little bit.
Is it possible to displace the bubbles or make a mesh from them and then displace them?
I am trying to achieve something like this:

I tried Mesher but it didnt seem to work..

thanks for the help!


you could do something like this with particle flow & metaballs.

how about running the particles through a static 3d displacement field, so they deform as they travel?

I did a quick 10 minute test - here’s all the references. could be much cleaner and better but I just wanted to check the result. they split up & merge appropriately.
the displace force is just a standard noise with the phase animated to give it some extra random movement. the first keep apart pushes everything away, the second one has a negative value to pull it back together.

click for big[

](Imgur: The magic of the Internet)

there is no option to displace the bubbles in the foam shader, you have to use another render technique for this.
of course you can use the metaballs or any other mesher and then add displacement over the mesh.

You are talking about other techniques to create these particles too, right? or is it possible to derive particles from the foam generatd by Phoenix?

Hey thanks so much for that!
I have next to no experience in particle flow so I have to do some extensive testing. Any good resources concerning this topic that you could point me to?

You are talking about other techniques to create these particles too, right? or is it possible to derive particles from the foam generatd by Phoenix?
i’m talking about the rendering, you can use the phoenix foam and to render it with metaballs or any other mesher

do I just choose the simulator in the metaballs particle list?
or is there more to it? for me nothing happens when just doing that.. no previews either..

i just tried this, and really it does not work. that is weird because the coworker that made the metaballs asked me how to access the particles :slight_smile:
i managed it to work using the following hack: i created a phxfoam, selected in it the phoenix particles and then deleted the foam shader. i do this to force it to create an object that represents the phoenix particles. then i open the schematic preview, unhide the particle object and now i can pick it in the metaballs using the “select by name” tool bar. doing this entire magic i got the phoenix particles rendered as metaballs.
of course we will fix this, the particles must be selectable directly

good that we found that out! haha :smile:

anyway, sometimes when I unhid everything this seeming copy of the simulator popped up but was named like the foam system and i thought: mmmh, that is strange! deleted it, chose the simulator for the foam again and since I couldnt see it anymore I didnt think about it anymore!
anyway, got it to work as you said and playing around with it right now! thanks!

For that kind of thing you can just wing it - the motion of the particle is just ‘go up, but randomly wiggle around’
the ‘rain dripping’ tutorial on here is the best primer http://www.allanmckay.com/site/index.php/legacy-tutorials
I barely know how to use pflow, this is basic stuff. Would be worth you spending an hour with it (and that’s really all you’d need) so you can use pflow to drive phoenix - it can make certain effects a little easier to control.

thanks a lot!
I will check it out and play around with it.

Ivaylo,
is there a way to apply the foam shader to the metaballs? How would I replicate the look? I tried it with a simple VrayMtl with 100% refraction and different kind of IORs but couldnt get the same look..or does it only have something to do with the form?

no, the foam shader works only with particles, not with geometry. of course it can be implemented as vray material, but can’t promise that it will be, right now we have a lot to do.

And it cant be replicated with any other Vray Material, right?

if the bubbles are not too dense it can be replaced with simple refractive material, but for big group of bubbles the foam shader looks different.
see the attached images, as you can see the rare bubbles are almost the same with the foam shader and the vray mtl, but the dense bubbles are completely different.