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. 更多...
#include <TerrainErosion.h>
Public 属性 | |
| float | spacingX = 1 |
| float | spacingZ = 1 |
| float | heightScale = 1 |
| float | reposeSlope = 11.430052F |
| float | dt = 0.00025F |
| int | iterations = 3 |
详细描述
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.
在文件 TerrainErosion.h 第 114 行定义.
类成员变量说明
◆ dt
| float eve::procgen::TerrainThermalSettings::dt = 0.00025F |
在文件 TerrainErosion.h 第 116 行定义.
被这些函数引用 eve::procgen::applyTerrainThermal().
◆ heightScale
| float eve::procgen::TerrainThermalSettings::heightScale = 1 |
在文件 TerrainErosion.h 第 115 行定义.
被这些函数引用 eve::procgen::applyTerrainThermal().
◆ iterations
| int eve::procgen::TerrainThermalSettings::iterations = 3 |
◆ reposeSlope
| float eve::procgen::TerrainThermalSettings::reposeSlope = 11.430052F |
在文件 TerrainErosion.h 第 116 行定义.
被这些函数引用 eve::procgen::applyTerrainThermal().
◆ spacingX
| float eve::procgen::TerrainThermalSettings::spacingX = 1 |
在文件 TerrainErosion.h 第 115 行定义.
被这些函数引用 eve::procgen::applyTerrainThermal().
◆ spacingZ
| float eve::procgen::TerrainThermalSettings::spacingZ = 1 |
在文件 TerrainErosion.h 第 115 行定义.
被这些函数引用 eve::procgen::applyTerrainThermal().
该结构体的文档由以下文件生成:
- src/modules/procgen/heightmap/TerrainErosion.h