载入中...
搜索中...
未找到
TerrainTerraceRemover.h 文件参考
#include "common/Result.h"

浏览源代码.

类

struct  eve::procgen::TerrainTerraceRemovalSettings
 Portable controls for Pcg HeightmapTerraceRemover's analysis and processing pipeline. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

枚举

enum class  eve::procgen::TerrainTerraceClass { eve::procgen::Black = 0 , eve::procgen::Red = 1 , eve::procgen::Green = 2 , eve::procgen::Blue = 3 }
 Numeric values written by analyzeTerrainTerraces, matching the source mask colors. 更多...
 

函数

Result< int > eve::procgen::analyzeTerrainTerraces (Heightmap &target, const Heightmap &source, const TerrainTerraceRemovalSettings &settings)
 Classify a heightmap into Pcg's black/red/green/blue important-detail categories.
 
Result< int > eve::procgen::removeTerrainTerraces (Heightmap &target, const Heightmap &source, const Heightmap &classification, const TerrainTerraceRemovalSettings &settings)
 Apply Pcg's adaptive smoothing, gradient noise, 3x3 filter, and fixed 5x5 Gaussian blur.