Jump to content

Foam


Recommended Posts

Does anybody have an idea about how to create, animate, and render foam?

The kind of foam you get when you brush your teeth, or when you point the showerhead at soapy water, or sprinkle salt on slugs.

I'm thinking particles sticking to each other at a growing radius, or maybe smoke, metaballs, or, hmmm, tricky, and the shading part...hmmm...

Edited by Macha
Link to comment
Share on other sites

I think the above mentioned pointcloud technique will give you the fastest, most controllable results.

In regards to rendering, I would consider rendering clusters of spheres (instances or use ClusterThis) or variations of spheres (2 together, 3 together, 4 together,..) to add more detail. There will be some intersections, but the general movement will probably be convincing enough and perhaps consider animating the bigger hero bubbles as rbds/particle system.

Shading wise, just transparent with a bit of a fake oily sheen to it should be fine, perhaps a bit of falloff added around the edges.

Link to comment
Share on other sites

Hi, Macha, I have some idea about it. according to my reading, foam shading should be the typical of level of details.

for the mid and distant shot,usually foam is simulated using particles(birth,kill and convert into water) and finally rendered as mesh.

for the distant part, texture should be sufficient, I remember Houdini 10 has the foam shader shipped with it.

As for the mid one where detail begins to stand out, displaced subsurface scattering shading should do the job.Cellular noise is our best friend regarding the displacement shading. Sphere sim at this point is ok and maybe use metaball to produce the mesh so that the rough surface at the top of the foams continuity could be simulated to some extent.

Link to comment
Share on other sites

  • 3 weeks later...

Hi Macha,

Here is the spot I worked on the foam while ago.

It was not animated at all but shading wise,

It is just a volume cloud inside transparent object with noise displacement.

The volume cloud can give you a fluffy look.

Hope this helps

Link to comment
Share on other sites

  • 5 months later...

Hi Macha,

Here is the spot I worked on the foam while ago.

It was not animated at all but shading wise,

It is just a volume cloud inside transparent object with noise displacement.

The volume cloud can give you a fluffy look.

Hope this helps

Hi ohiro2.

I´m trying to create a similar thing, could you post a hip file to help me get started with the shading?

Thanks

//Anders

Link to comment
Share on other sites

  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...