|
| Array | hmap::flow_fixing_mst (const Array &z, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float valley_affinity=0.5f, int prefilter_ir=8, float minimum_depth=1e-4f, bool carve_riverbed=true, float merging_distance=8.f, RadialProfile radial_profile=RadialProfile::RP_SMOOTHSTEP_UPPER, float radial_profile_parameter=2.f, const Array *p_noise_r=nullptr, bool use_midpoint=false, float offset_ratio=0.2f) |
| | Resolves flow sinks and unwanted upslopes using Dijkstra pathfinding and a Minimum Spanning Tree (MST) over sinks and boundary outlets.
|
| std::vector< Path > | hmap::flow_fixing_mst_paths (const TerrainTriMesh &mesh, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float minimum_depth=1e-4f) |
| | Computes river flow paths resolving depressions via Minimum Spanning Tree (MST) on a triangular terrain mesh.
|
| std::vector< Path > | hmap::flow_fixing_mst_paths (const Array &z, size_t control_points_count=2048, std::uint32_t seed=0, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float minimum_depth=1e-4f) |
| | Computes river flow paths resolving depressions via Minimum Spanning Tree (MST) on a triangular mesh generated from a heightmap.
|
| Array | hmap::flow_fixing_mst_triangulated (const Array &z, size_t control_points_count=2048, std::uint32_t seed=0, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float minimum_depth=1e-4f, float merging_distance=8.f, RadialProfile radial_profile=RadialProfile::RP_SMOOTHSTEP_UPPER, float radial_profile_parameter=2.f, const Array *p_noise_r=nullptr) |
| | Resolves flow sinks on a heightmap by computing an MST on a triangular mesh and carving the resulting river paths with trenching.
|
| std::vector< Path > | hmap::va::flow_fixing_mst_paths (const ComputeMode &cm, const VirtualArray &z, size_t control_points_count=2048, std::uint32_t seed=0, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float minimum_depth=1e-4f) |
| | Resolves flow sinks on a VirtualArray by computing an MST on a triangular mesh and distributing river path carving with trenching across tiles.
|
| VirtualArray | hmap::va::flow_fixing_mst_triangulated (const ComputeMode &cm, const VirtualArray &z, size_t control_points_count=2048, std::uint32_t seed=0, float riverbed_talus=0.f, float elevation_ratio=0.95f, float distance_exponent=2.f, float upward_penalization=0.1f, float minimum_depth=1e-4f, float merging_distance=8.f, RadialProfile radial_profile=RadialProfile::RP_SMOOTHSTEP_UPPER, float radial_profile_parameter=2.f, const VirtualArray *p_noise_r=nullptr) |