My first Houdini blog post, Experimenting with Impacts in SideFX Houdini, discussed viscous fluid impacts. This post looks at how to add a little more detail to the fluid object - specifically, I wanted to add colored stripes to the fluid.

The source geometry for my FLIP object is a point cloud created from four boxes. The network starts with a single box which feeds into separate yellow and blue color nodes. In turn, these nodes create a point cloud using Points from Volume and the original geometry's color in copied to the points with an Attribute Copy. The two colored volumes are distributed using four transforms:


By adding jitter to the Points from Volume nodes, the network creates a point cloud with four colored stripes:


I used Houdini's shelf tools to create a viscous FLIP fluid from the point cloud, but changed the FLIP object's Input Type to Particle Field. To get my rigid bodies to interact with the fluid and experience drag, I changed the FLIP solver's Feedback Scale to 1.

The final step in creating the stripy liquid was to add an Attribute Transfer to the fluid surface geometry network automatically created by Houdini (I've colored it in yellow in the image below):


This transfers the color attribute from the points to the fluid geometry to give it the colored stripes.

The impacts objects are simple RBD objects given an initial velocity. 

Magic! 
1

View comments

  1. that is superb wow! especially that bit in the middle where it turns to gibs - love it thankyou :D
    ant

    ReplyDelete
About Me
About Me
Labels
Labels
Blog Archive
Loading