|
HighMap library (C++)
|
Truncated-Gaussian push operation, the elementary deformation used by sls_deformation. More...
#include <authoring.hpp>
Public Attributes | |
| int | i |
| center index (x) | |
| int | j |
| center index (y) | |
| int | ir |
| kernel radius in pixels | |
| float | amplitude |
| height displacement at the center | |
Truncated-Gaussian push operation, the elementary deformation used by sls_deformation.
The push adds amplitude * G(d) to every vertex within ir pixels of the center (i, j), where G is a truncated Gaussian kernel equal to 1 at the center and to 0 at distance ir. The center vertex is therefore displaced by exactly amplitude.
| int hmap::GaussianPush::i |
center index (x)
| int hmap::GaussianPush::j |
center index (y)
| int hmap::GaussianPush::ir |
kernel radius in pixels
| float hmap::GaussianPush::amplitude |
height displacement at the center