载入中...
搜索中...
未找到
#include "procgen/texture/TextureRecipe.h"#include "image/ImageData.h"#include <algorithm>#include <cmath>命名空间 | |
| namespace | eve |
| namespace | eve::procgen |
函数 | |
| void | eve::procgen::fillHeightField (const TextureGenContext &ctx, const std::function< float(float, float, const NoiseField &)> &fn, std::vector< float > &height) |
Sample a height function over the full [w×h] grid into height (clamped to [0,1]). | |
| void | eve::procgen::paintHeightToImage (image::ImageData &img, const std::vector< float > &height, int w, int h, const ColorRamp &ramp, int bands, int pixelSize) |
| image::ImageData * | eve::procgen::heightToNormalImage (const std::vector< float > &height, int w, int h, float strength, bool seamless) |