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

Namespaces

namespace  hmap
 
namespace  hmap::gpu
 

Functions

Array hmap::gpu::mountain_stump (Vec2< int > shape, uint seed, float scale=1.f, int octaves=8, float peak_kw=6.f, float rugosity=0.f, float angle=45.f, float k_smoothing=0.f, float gamma=0.25f, bool add_deposition=true, float ridge_amp=0.75f, float base_noise_amp=0.1f, Vec2< float > center={0.5f, 0.5f}, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr, Vec4< float > bbox={0.f, 1.f, 0.f, 1.f})
 Generates a mountain-like heightmap with a flattened (stump-shaped) peak.