...
- Create a → basic HyFLIP scene, for example with the “Open Domain” tool.
- Add some turbulence by moving an → animated object through the fluid.
- Simulate.
The result of this quick start tutorial. Here a → "Waterline" emitter has been added. The particles have been snapped to the mesh with the → "Snap Foam Particles" tool. Furthermore, the amount of waterline particles has been increase with the → "MultiPoint" option:
The Base Mesh
Before we proceed, it is important to set the (already simulated) domain to → “cache”:
- Click on the domain node's small green rocket.
- The yellow colour indicates the cache mode.
- Move the domain's viewport icon (plane with four boxes) to the upper third of the fluid.
...
- Mesh shelf > Hybrido mesh VDB
- Boundaries > Open Boundaries > Yes
- The last action will remove all polygons outside and below the domain's viewport plane.
- Displacement > Use displacement > Yes
...
Open the domain node's → “Ocean Statistical Spectrum”. There you will see a long parameter list, but just a few a really relevant for your daily work. The result can only be seen when you create a mesh. Here are the most important settings:
Calculate displacement
Set this option to “Always”:
...
Go to a frame with enough detail, splashy structures, and turbulence. The Then select the mesh and click on
- Mesh shelf > Build mesh to create a single mesh from the current frame.
...
A possible result could look like in this image:
In order to proceed and refine your settings, change the HyFLIP domain's “Ocean Statistical Spectrum” parameters and create test meshes until you are satisfied. Please also consider the → “Displacement” section's attenuation options, to remove the spectrum waves from splashy structures or areas with high vorticity.:
The Mesh Range
In the final step, the entire simulation range is meshed. Currently, the displacement has been created for a single frame:
- Reset the scene and simulate.
- The domain's “cache” mode prevents the fluid from being re-simulated – , and only the displacement is calculated.
- The mesh is created simultaneously.