Sunny Side Up Blog

Fried Egg Simulation Technical Summary

ENTRY 3 PROGRESS BLOG

GOAL

FLIP Tests & Animated Material Development

SHELF TOOLS & SCALE

I decided to restart with the shelf tools and keep the simulation at the default sphere scale in Houdini. The scale is about 100 times bigger than life, but the values are more controllable and as expected in this scale. The results I am getting are more egg-like.

DEFORMING COLLIDER

An issue I was having was that the fluid was not falling fast enough. According to my reference, the entire egg has already fallen within the first 2 seconds. I animated the collider to close after 24 frames so the fluid would not keep dripping down. Here is a before and after:

COMPARING ATTRIBUTES

Viscosity: White = 100, Yolk = 20000, Oil = 0
Particle Seperation: 0.05

Viscosity: White = 1000, Yolk = 20000, Oil = 0
Particle Seperation: 0.05

Viscosity: White = 500, Yolk = 20000, Oil = 0
Particle Seperation: 0.05

Viscosity: White = 150, Yolk = 20000, Oil = 0
Particle Seperation: 0.05

Viscosity: White = 125, Yolk = 30000, Oil = 0
Particle Seperation: 0.05

According to my reference, the egg and the oil are splashing on impact. Some things I want to try are: increasing gravity, having an initial velocity, increasing collision velocity.

Viscosity: White = 150, Yolk = 20000, Oil = 0
Gravity: -50
Viscosity broke from the gravity, but still no splash.

Viscosity: White = 150, Yolk = 20000, Oil = 0
Regular Gravity
Collision Velocity Scale: 5 (default is 1)

DENSITY?

Adding density to the fluids did make it splashier, however it lessens the viscosity and the values have been a little unpredictable for me, here are some tests.

Viscosity: White = 150, Yolk = 20000, Oil = 0
Density: White = 1, Yolk = 0.1, Oil = 1000000

Viscosity: White = 150, Yolk = 20000, Oil = 0
Density: White = 0.5, Yolk = 0.05, Oil = 1000000
Why did the yolk break apart when it should be stiffer?

Viscosity: White = 150, Yolk = 20000, Oil = 0
Density: White = 0.1, Yolk = 0.01, Oil = 1000000
Density too low to fall!

Viscosity: White = 150, Yolk = 20000, Oil = 0
Density: White = 0.3, Yolk = 0.03, Oil = 1000000
I am not sure if the values are affecting the fluids individually at all. The density attribute in the Geometry Spreadsheet does have the values that I set in both SOP level and in the solver.

LOOK DEVELOPMENT UPDATE

For the materials to work, the yolk has to not be covered by the egg white. I animated the Droplet Scale in the yolk particle fluid surface so it rises above after it falls.

Here is my progress so far: The shadows on the yolk should be less dark, the cooked egg white is still looking a little like plastic. Both shaders have subsurface turned on.

lookdev lookdev
BACK