Stabilizer angle (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "{{Overlay attributes|<onlyinclude> {{Overlay attributes|type=row|overlay=Water |attribute=STABILIZER_ANGLE |unit={{angle}} |description=A partly flooded cell (especially at t...")
 
mNo edit summary
Line 5: Line 5:
|description=A partly flooded cell (especially at the edges of waterways) can become unstable when the angles in X and Y direction are too far apart. In this case the fluxes in U and V cannot easily be resolved mathematically while preserving balance. To prevent unrealistic fluxes from appearing, only the flux in the primary direction will be preserved. A stabilizer angle of zero means that all cells can be considered partly flooded cells, while an angle of 90 degrees will disable the stabilizer.
|description=A partly flooded cell (especially at the edges of waterways) can become unstable when the angles in X and Y direction are too far apart. In this case the fluxes in U and V cannot easily be resolved mathematically while preserving balance. To prevent unrealistic fluxes from appearing, only the flux in the primary direction will be preserved. A stabilizer angle of zero means that all cells can be considered partly flooded cells, while an angle of 90 degrees will disable the stabilizer.
|icon=Waterwizard_icon_stabilizier_angle.png
|icon=Waterwizard_icon_stabilizier_angle.png
|defaultvalue=10
}}</onlyinclude>}}
}}</onlyinclude>}}



Revision as of 09:06, 10 February 2022

A cell is partly flooded and stabilizing when:

  • The predicted water height at one edge is zero and the water in that direction is flowing away from that edge. The predicted water height is the predicted water level minus the terrain height at that edge.
  • In case water in the cell is flowing in the direction of the dry edge, the cell will not be partially flooded and it will not try to stabilize its water level with the neighboring cell where the water comes from.