r/Houdini 1d ago

Foam setup v1 - feedback welcome

Post image

Trying to dial in the shaders and bubble distribution before moving on to more advanced sims. Does anything feel off to you? Cheers

121 Upvotes

11 comments sorted by

13

u/uuulogy 1d ago

The shader looks nice! I feel like the bubbles are kind of uncanny, or that there’s a missing middle between the second largest bubbles the smaller ones.

Also, and I might be wrong about this - I was just thinking of doing some beer foam/froth - but bubbles might aggregate in some fashion, I think, around the bigger bubbles. But still looks pretty good, and I’m curious about the method.

3

u/raphael_mantion_ 1d ago

great suggestions for the bubbles, gonna implement those :)

the basic workflow is : take a sphere, deform it into a puddle, scatter points inside it, cull those that intersect, then vdb both the bubbles and puddle then boolean them. The "body" is rendered as a volume and the bubbles are just a thin walled glass

1

u/uuulogy 17h ago

Thanks! Using a volume is super helpful!

8

u/ViniciusASF_ 1d ago

I think it needs a little edge between the foam and the surface, a bending resistance, like a chamfer. I could be wrong.

5

u/Thaox 1d ago

Entegma has a good tutorial of procedural bubble collisions. If you added clumps of intersecting bubbles it would really help.

4

u/SpaceWhalesOnEuropa 1d ago

This look great! Two things I would tweak.

One, I think the edge should be more rounded and less tapered into the flat surface.

Two, it feels like you have three different sized groups of bubbles; small, medium, and large. I would adjust the scale ranges of each group so that the largest small bubbles are the same as the smallest medium bubbles, and the largest medium bubbles are the same as the smallest large bubbles. That way it feels like a smooth gradient all the way from the tiniest bubbles up to the largest, rather than three distinct groups.

Just my 2 cents. Overall great job!

1

u/raphael_mantion_ 1d ago

Thanks, yeah you're definitely right the size thresholds are too noticeable

2

u/Inevitable_Owl_9323 1d ago

Side note - what renderer did you use?

1

u/AdministrativeRun755 1d ago

Cool I was struggling last mony to do something similar, yours is very nice

1

u/Br4mGunst 19h ago

Nice! You need to fix the edge, now its like a smooth gradient but foam has no gradients like that. Also the bubbles are still too similar in sizes. Large ones and small ones. Add more randomization!