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

浏览源代码.

类

struct  eve::procgen::TerrainSedimentSettings
 Effective sediment coefficients from Hydraulic.compute, after UI conversion. The source hardcodes hardness to zero, disabling dissolution; capacity and dissolve controls therefore have no finite contribution and are not duplicated here. 更多...
 
struct  eve::procgen::TerrainLegacyHydraulicSettings
 Controls Pcg HeightMap.ErodeHydraulic's legacy CPU erosion loop. 更多...
 
struct  eve::procgen::TerrainLegacyDistributedErosionSettings
 Thresholds and iteration count for Pcg HeightMap.Erode's synchronous cardinal transport. 更多...
 
struct  eve::procgen::TerrainLegacySteepestErosionSettings
 Thresholds and iteration count for Pcg HeightMap.ErodeThermal's in-place steepest transport. 更多...
 
struct  eve::procgen::TerrainThermalSettings
 Explicit simulation controls for the Pcg eight-neighbor thermal kernel. Height differences are multiplied by heightScale before slope comparison. Spacing is in simulation units; reposeSlope is tan(repose angle), not an angle in degrees. dt is the thermal substep duration (Pcg multiplies thermal dt by hydraulic dt). Defaults use unit spacing/height scale and tan(85 degrees), with three substeps. 更多...
 

命名空间

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

函数

EVENGINE_API_DOMAINS Result< int > eve::procgen::applyTerrainLegacyHydraulic (Heightmap &heights, Heightmap &sediment, const Heightmap &hardness, const Heightmap &rain, const TerrainLegacyHydraulicSettings &settings)
 Apply Pcg HeightMap.ErodeHydraulic's rain, four-way water and sediment loop atomically.
 
EVENGINE_API_DOMAINS Result< int > eve::procgen::applyTerrainLegacyDistributedErosion (Heightmap &heights, const TerrainLegacyDistributedErosionSettings &settings)
 Apply Pcg HeightMap.Erode's synchronous four-neighbor material redistribution.
 
EVENGINE_API_DOMAINS Result< int > eve::procgen::applyTerrainLegacySteepestErosion (Heightmap &heights, const Heightmap &hardness, const TerrainLegacySteepestErosionSettings &settings)
 Apply Pcg HeightMap.ErodeThermal's ordered steepest-cardinal transport with hardness.
 
EVENGINE_API_DOMAINS Result< int > eve::procgen::applyTerrainSediment (Heightmap &heights, Heightmap &sediment, const Heightmap &velocityX, const Heightmap &velocityZ, const TerrainWaterSettings &water, const TerrainSedimentSettings &settings)
 Apply the source sediment reaction and backtrace equations with atomic dual output.
 
Result< int > eve::procgen::applyTerrainThermal (Heightmap &heights, Heightmap &sediment, const TerrainThermalSettings &settings)
 Apply the source thermal equation, publishing height and sediment together.