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

Namespaces

namespace  hmap
 

Functions

Array hmap::phase_field (const Array &array, float kw, int width, uint seed, float noise_amp=0.f, int prefilter_ir=-1, float density_factor=1.f, bool rotate90=false, Array *p_gnoise_x=nullptr, Array *p_gnoise_y=nullptr)
 Computes a phase field using spatially varying Gabor noise based on the input heightmap.