|On this page|
This tool creates a FLIP tank simulation of a flat tank of particles similar to the FLIP Tank tool, but with the addition of a boundary layer of particles that helps suppress reflections at the edge of the tank and maintain the water level over time. The boundary layer also allows the tank to track a moving object, simulating only the area around the object.
For more information, see the differences between ocean tank types help page.
Using Flat Tank
Click the Flat Tank tool on the Oceans tab to create a tank.
Select an animated object to follow and press Enter to confirm your selection. If no object is selected, you will be prompted to place a static tank.
For specific parameter information, see the Ocean Source help page.
Understanding the network of nodes
There are three important layers to focus on when creating your ocean. First create the ocean, next add whitewater, and finally add specularity for the whitewater.
Disable all whitewater nodes at the OBJ level while you work on your ocean, then disable the ocean nodes while you work on your whitewater.
The first set of nodes control the ocean itself.
fluidtank_initialcontrols the first frame of your simulation. This is where you can shape the initial frame of your tank with Ocean Spectrum and control the outputs with Ocean Source. This includes the size of your tank, the depth of the water etc.
AutoDopNetworkcontrols the simulation of your tank. This is where you will find the FLIP Tank and FLIP Solver. The FLIP simulation will contain SourceVolume DOPs to sink and source the boundary layer particles, and a POP Advect By Volumes POP to add ocean velocities to the simulation.
fluidtank_fluidis the result of #1 and #2 combined, and is where the results are rendered. After the simulation is done, this node collects the fluid particles, sets up a material, creates some nodes for surfacing to finish the effect.
fluidtank_interioris also used for rendering, and for creating the volumetric effect that one of the shaders applies to the interior of the fluid. It controls the volume beneath the surface, such as how cloudy or murky the water will appear.
The next set of nodes are to control the whitewater.
To add whitewater to your simulation, use the Whitewater tool on the Oceans shelf.
whitewater_sourceis where the spray and foam is coming from.
whitewater_simis where the whitewater simulated. This is where you can modify the animation.
import_whitewateris the result of #1 and #2 combined.
Do not try to set up a whitewater simulation from scratch. Always use the tools. For more information about using whitewater, see the Whitewater help.
For more information see How to animate a wave tank with whitewater.
Tips for improving the look of your water
The defaults for the tank will create a low res simulation, which makes it easy to animate. However, to create a nice looking render, you will need to change some of the defaults. For example, you will need to increase the number of particles in your scene. Decreasing the Particle Separation parameter to about
0.03will create a simulation with approximately 30 million particles.
Add an environment light to your scene. Water reflects and refracts a lot of the environment around it, so having an environment map in your scene will significantly improve the look.
In your Environment Map parameter, navigate to the
HFS/houdini/pic/folder and choose the sky file
It is useful to parent your trackable object with a Null Object so that you can create a more complex animation on the object and it will still follow your simple animation of the null.
You can also parent cameras and lights to the moving null by connecting them to the output of the Null Object and enabling the Keep position when parenting checkbox on the light or camera object.
The Particle Separation on the Ocean Source controls the resolution of you ocean. The lower the number, the closer together the particles will be.
The Size parameter controls the size, shape, and depth of the tank. When you change the size, you will see a handle in the viewport which you can drag to manually set the size and depth of your tank.