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

Namespaces

namespace  hmap
 

Functions

Array hmap::phasor (PhasorProfile phasor_profile, Vec2< int > shape, float kw, const Array &angle, uint seed, float profile_delta=0.1f, float density_factor=1.f, float kernel_width_ratio=2.f, float phase_smoothing=2.f)
 Generates a phasor noise field based on a Gabor noise model and phase profile.
 
Array hmap::phasor_fbm (PhasorProfile phasor_profile, Vec2< int > shape, float kw, const Array &angle, uint seed, float profile_delta=0.1f, float density_factor=1.f, float kernel_width_ratio=2.f, float phase_smoothing=2.f, int octaves=8, float weight=0.7f, float persistence=0.5f, float lacunarity=2.f)
 Generates a fractal Brownian motion (fBm) noise field using layered phasor profiles.