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

Namespaces

namespace  hmap
 

Functions

Array hmap::stamping (Vec2< int > shape, const std::vector< float > &xr, const std::vector< float > &yr, const std::vector< float > &zr, Array kernel, int kernel_ir, bool kernel_scale_radius, bool kernel_scale_amplitude, StampingBlendMethod blend_method, uint seed, float k_smoothing=0.1f, bool kernel_flip=true, bool kernel_rotate=false, Vec4< float > bbox_array={0.f, 1.f, 0.f, 1.f})
 Generate a heightmap by stamping a kernel at predefined locations.