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

Namespaces

namespace  hmap
 

Functions

Array hmap::elevation_from_sparse_constraints (const Array &mountains, const Array *p_coastline=nullptr, const Array *p_boundary=nullptr, float mountain_elevation=1.0f, float coastline_elevation=0.0f, float boundary_elevation=-1.0f, int iterations_max=500, float tolerance=1e-5f, const Array *p_noise=nullptr, float noise_amplitude=0.0f)
 Synthesize a smooth heightmap from sparse elevation constraints using GPU harmonic interpolation (Laplacian PDE).