HM - Displacement

A Hybrido fluid's displacement can be seen as an additional layer on top of the main body of water. This layer adds small waves and ripples to the surface and provides extra realism. In order to use this feature with a simulation, it has to be activated manually under the Hybrido domain's → HyDomain - Ocean Statistical Spectrum” section:

  • This height information is used to displace the mesh's vertices.
  • The "Displacement" option can be RAM-intensive.
  • → "Interactive Meshing is supported.

If your core fluid simulation has been simulated without displacement, this parameter set can be ignored.

 

This image has been contrast enhanced for better readability.

 

Auto edge length

This option uses the Hybrido domain's “Quality” parameter from the → “Ocean Statistical Spectrum” panel to control the resolution at the mesh's edges. An example: With a “Quality” value of 512, the mesh's edges are subdivided until there are 512 triangles at each side. For this process, the domain's projection plane is used. When set to “No” the “Edge length” parameter is unlocked where you can define the edge length manually.

Edge length

The value given here will be used by the mesh engine to define the length of the mesh's border triangles. The final number of edge triangles is then calculated from this length. The value is measured in metres.

Use displacement

If you want to bake the displacement information to the mesh enable this option.

Height attenuation

If you want to consider the vertices' heights to fade the displacement activate this option.

Height attenuation factor

A fluid's height values can cover a very broad range and therefore, the values are normalized – they are set in relation to a constant value: the normalization factor you enter here. With 1.0, for example, all height values will range between 0 and 1.

Height min
  • Vertices with height values smaller than “Height min” will not be attenuated. 
  • If a vertex' height value is greater than “Height max” then it receives full attenuation. 
  • Between these extremes, attenuation is applied gradually.
Height max
  • Vertices with height values greater than “Height max” will receive full attenuation.
  • If a vertex's height is smaller than “Height min” then it will not be affected. 
  • Between these extremes, attenuation is applied gradually.
Speed attenuation

When enabled the vertices' speed is used to fade the displacement. 

Speed attenuation factor

In most simulations, velocity values cover a very broad range of values, e.g. from 0 m/s to 23.7 m/s. These ranges are difficult to handle and therefore they are normalized. After this process, all velocities will be between 0 and 1. With this factor you can “amplify” the normalized values, because they will be multiplied with the given "Speed min | max" values.

Speed min
  • Vertices with speed magnitudes smaller than “Speed min” will not be affected.
  • If the speed magnitude is greater than “Speed max” then it receives full attenuation. 
  • Between these extremes, attenuation is applied gradually.
Speed max
  • Vertices with speed values greater than “Speed max” will receive full attenuation. 
  • If a vertex's speed magnitude is smaller than "Speed min” then it will not be affected. 
  • Between these extremes, attenuation is applied gradually.
Splash attenuation

“Splash attenuation” means that in those areas of the core fluid that behave more like splashes the displacement fades, and finally vanishes. These areas normally do not need any displacement at all.

Splash attenuation factor

With this parameter it is possible to make the displacement patterns vanish faster (> 1) or slower (< 1).

Vorticity attenuation

Vorticity can be used to fade, and finally remove the displacement. Please bear in mind that the grid domain's “Vorticity” channel has to be activated before the simulation starts, because otherwise this option does not have any effect at all:

 HY_Domain node > Node Params > Particle Channels > Vorticity

Vorticity normalization factor

A fluid's vorticity values can cover a very broad range. These ranges are difficult to handle and therefore they are normalized. As a result, all vorticity values will range between 0 and 1 * factor.

Vorticity attenuation factor

With this parameter it is possible to make the displacement patterns vanish faster (> 1) or slower (< 1).