|
| float | hmap::gpu::helper_vflow_compute_adaptive_dt (const Array &h, float viscosity, float power) |
| |
| Array | hmap::gpu::flow_simulation (const Array &z, float water_depth, const Array &depth_map, int iterations, float dt=0.5f, bool flux_diffusion=true, float flux_diffusion_strength=0.01f, float dry_out_ratio=0.f) |
| | GPU hydraulic flow simulation using a virtual-pipes model; simulates shallow-water transport over a height field using iterative flux computation and water transport passes, with optional flux diffusion and post-simulation depth clamping to remove thin residual water layers.
|
| |
| Array | hmap::gpu::flow_simulation_viscous (const Array &z, float water_depth, const Array &depth_map, int iterations, float dt=0.5f, float dry_out_ratio=0.f, float viscosity=1.f, float power=2.5f) |
| |