|
| float | hmap::helper_crater_profile (float r, float dx, float dy, float alpha, float ap, float am, float inner_depth, float inner_exp, float lip_height, float lip_extent, float lip_exp, float central_peak_height, float central_peak_extent, int n_terraces, float terrace_extent, float terrace_exp, float terrace_persistence) |
| Array | hmap::crater_field (glm::ivec2 shape, const std::vector< glm::vec2 > ¢ers, const std::vector< float > &radii, float angle=30.f, float inner_depth=0.5f, float inner_exp=3.f, float lip_height=0.1f, float lip_extent=0.25f, float lip_exp=2.f, float asym_ratio=0.8f, float central_peak_height=0.05f, float central_peak_extent=0.4f, int n_terraces=0, float terrace_extent=0.1f, float terrace_exp=2.f, float terrace_persistence=0.5f, const Array *p_noise_r=nullptr, const UvRect &uv_rect=UvRect::unit(), Array *p_crater_mask=nullptr, Array *p_inner_crater_mask=nullptr, bool scale_elevation_with_radius=true) |
| | Generate a field of procedural impact craters from explicit centers and radii.
|
| Array | hmap::crater_field (glm::ivec2 shape, std::uint32_t seed, int n_craters, float r_min=0.02f, float r_max=0.2f, float angle=30.f, float inner_depth=0.5f, float inner_exp=3.f, float lip_height=0.1f, float lip_extent=0.25f, float lip_exp=2.f, float asym_ratio=0.8f, float central_peak_height=0.05f, float central_peak_extent=0.4f, int n_terraces=0, float terrace_extent=0.1f, float terrace_exp=2.f, float terrace_persistence=0.5f, const Array *p_noise_r=nullptr, const UvRect &uv_rect=UvRect::unit(), Array *p_crater_mask=nullptr, Array *p_inner_crater_mask=nullptr, bool scale_elevation_with_radius=true) |
| | Generate a field of randomly distributed procedural impact craters.
|