|
HighMap library (C++)
|
Namespaces | |
| namespace | hmap |
Functions | |
| Tensor | hmap::normal_map (const Array &array) |
| Generates a normal map from a given 2D array. | |
| Array | hmap::normal_map_to_heightmap (const Tensor &nmap) |
| Converts a normal map to a heightmap using direct summation of gradients. | |
| Array | hmap::normal_map_to_heightmap_poisson (const Tensor &nmap, int iterations=500, float omega=1.5f) |
| Reconstruct a height/displacement map from a normal map by solving a Poisson equation with Gauss–Seidel iteration. | |