HighMap library (C++)
Loading...
Searching...
No Matches
carve_river.cpp File Reference

Namespaces

namespace  hmap

Functions

void hmap::carve_river (Array &z, const Graph &graph, float talus, float outlet_width, float headwater_width=0.f, float width_exponent=0.5f, float depth=0.05f, float depth_exponent=0.3f, std::uint32_t seed=0, float talus_noise_ratio=0.f, RadialProfile radial_profile=RadialProfile::RP_SMOOTHSTEP_UPPER, float radial_profile_parameter=2.f, Array *p_river_mask=nullptr, const UvRect &uv_rect=UvRect::unit())
 Carves a continuous river network into a heightmap along a directed flow Graph.