地形表面
14 个节点
本页内容 14
地形分析贴图
函数自然风格据以铺设调色板的分析贴图:侵蚀留下的岩屑、沉积与磨蚀,水面与湿润岸地。
地形分析贴图 -> Terrain Analysis Maps
岩屑: Scalar Field
沉积: Scalar Field
磨蚀: Scalar Field
水面: Scalar Field
湿润岸地: Scalar FieldTerrainAnalysisMaps AnalysisMaps(
ScalarField2D debris,
ScalarField2D deposition,
ScalarField2D wear,
ScalarField2D water,
ScalarField2D wetBanks)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 岩屑 | Scalar Field | — | Rock fallen and left by erosion: talus. |
| 沉积 | Scalar Field | — | Sediment water laid down. |
| 磨蚀 | Scalar Field | — | Where water and weather wore the surface. |
| 水面 | Scalar Field | — | Where water stands, 1 on water. |
| 湿润岸地 | Scalar Field | — | The damp ground above the waterline. |
返回
| 分析贴图 | Terrain Analysis Maps |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
劣地地形调色板
函数劣地:台地与缓坡上的草原,高处裸露的浅黄黏土,地势陡落处条带状的黏土与软砂岩崖壁,崖脚冲下的同样黏土,以及沟谷平地上龟裂的黏土。
劣地地形调色板() -> Terrain Palette
TerrainPalette BadlandsPalette()
返回
| 调色板 | Terrain Palette |
备注
Badland walls are lower and less steep than a canyon's: lay this with a cliff slope in the low thirties of degrees (Natural Texturing Settings), as Make Landscape's Badlands style does, or much of the banding is laid as ground.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
烘焙地形表面
函数把调色板铺在地形上,烘焙成颜色、法线、粗糙度和高度贴图。
烘焙地形表面 -> Baked Terrain Surface
地形: Scalar Field
调色板: Terrain Palette
烘焙尺寸: 整数
风格: Terrain Texture Style
水面: Scalar Field
分析贴图: Terrain Analysis Maps
设置: Natural Terrain SettingsBakedTerrainSurface BakeTerrainSurface(
ScalarField2D terrain,
TerrainPalette palette,
int bakeSize = 2048,
TerrainTextureStyle style = TerrainTextureStyle.Natural,
ScalarField2D water,
TerrainAnalysisMaps analysis,
NaturalTerrainSettings settings)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地形 | Scalar Field | — | Heights in metres; its PhysicalScale, metres per cell, decides how large the materials are laid. |
| 调色板 | Terrain Palette | — | The materials by role; the default palette when omitted. |
| 烘焙尺寸 | 整数 | 2048 | Pixels across the result; the depth follows the terrain's shape. |
| 风格 | Terrain Texture Style | 自然 | How the palette is laid: by the land's shape, by height bands, or in flat colours. |
| 水面 | Scalar Field | — | The water surface in metres, a number on water and NaN on dry ground, as Terrain Water's Fill gives it in Surface Elevation: the shore and the bed are laid along and under it, and the images show the water over them. Give the same to the viewer, which lays the water level. Without it there is no water. |
| 分析贴图 | Terrain Analysis Maps | — | Maps from analysis that the natural style lays by: an erosion's debris, deposition and wear, and wet banks. Without them it reads the land's shape alone. |
| 设置 | Natural Terrain Settings | — | Where the natural style's roles go: the slope a cliff starts at, how far fallen rock reaches, the snow line and the rest. The defaults suit any landscape, with snow on the top fifth of its relief when the palette has snow. |
返回
| 表面 | Baked Terrain Surface |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
地形调色板
函数调色板:地貌中每种角色各一种材质。只有地面是必需的。
地形调色板 -> Terrain Palette
地面: Terrain Surface Material
地面变化: Terrain Surface Material
裸露山顶: Terrain Surface Material
悬崖: Terrain Surface Material
崩落岩屑: Terrain Surface Material
沉积物: Terrain Surface Material
岸边: Terrain Surface Material
湿润岸地: Terrain Surface Material
雪: Terrain Surface MaterialTerrainPalette CreatePalette(
TerrainSurfaceMaterial ground,
TerrainSurfaceMaterial groundVariation,
TerrainSurfaceMaterial exposedTops,
TerrainSurfaceMaterial cliff,
TerrainSurfaceMaterial talus,
TerrainSurfaceMaterial sediment,
TerrainSurfaceMaterial shore,
TerrainSurfaceMaterial wetBank,
TerrainSurfaceMaterial snow)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 地面 | Terrain Surface Material | — | Everywhere, beneath everything. |
| 地面变化 | Terrain Surface Material | — | A second ground in large patches, so the ground is not one colour throughout. |
| 裸露山顶 | Terrain Surface Material | — | Ridges and rises, paler and barer; with height bands, the mountain band. |
| 悬崖 | Terrain Surface Material | — | Faces too steep to hold soil, projected from the side so they do not stretch. |
| 崩落岩屑 | Terrain Surface Material | — | Rock fallen from the faces above, at their feet. |
| 沉积物 | Terrain Surface Material | — | Fine material in hollows and on flats. |
| 岸边 | Terrain Surface Material | — | The water's edge; with height bands, the beach. |
| 湿润岸地 | Terrain Surface Material | — | Damp ground and moss where water gathers. |
| 雪 | Terrain Surface Material | — | Above the snow line. |
返回
| 调色板 | Terrain Palette |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
默认地形调色板
函数来自素材库的温带山地调色板。
默认地形调色板() -> Terrain Palette
TerrainPalette DefaultPalette()
返回
| 调色板 | Terrain Palette |
备注
The materials and their tints are the terrain studio's alpine palette, which was tuned against renders of real mountains; the shore is sand rather than the alpine palette's gravel, so that height bands draw a beach.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
荒漠地形调色板
函数来自素材库的峡谷地区调色板:砾质沙地、砂岩崖壁、崩落岩石、淤泥色的河流。
荒漠地形调色板() -> Terrain Palette
TerrainPalette DesertPalette()
返回
| 调色板 | Terrain Palette |
备注
The terrain studio's desert palette, which dressed the Goosenecks of the San Juan and Horseshoe Bend from their lidar; its tints pull the sands toward the sandstone's pink-brown.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
沙丘地形调色板
函数石膏沙丘,如白沙:近乎白色的沙,丘间平地上龟裂的硬壳,积水处的灌丛。
沙丘地形调色板() -> Terrain Palette
TerrainPalette DunePalette()
返回
| 调色板 | Terrain Palette |
备注
Gypsum sand is far paler than quartz: the dunes reflect nearly as much light as old snow, so their ground is the library's snow, warmed, with the fine grain of its sand in patches over it; slip faces stand at about 33 degrees, below the slope at which the stack lays cliffs, so dunes take none.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
熔岩地形调色板
函数新鲜熔岩,如基拉韦厄:灰黑色的玄武岩,平滑的熔岩流与粗糙的碎块,风化处少许草和蕨。
熔岩地形调色板() -> Terrain Palette
TerrainPalette LavaPalette()
返回
| 调色板 | Terrain Palette |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
素材库材质
函数Divooka 素材库中的材质(Poly Haven 的 CC0 材质集),按真实尺寸。
素材库材质(名称: 文本) -> Terrain Surface Material
TerrainSurfaceMaterial LibraryMaterial(string id)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 名称 | 文本 | — | The set, such as forest_ground_01 or rock_face_03. |
返回
| 材质 | Terrain Surface Material |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
加载纹理集
函数从按 Poly Haven 命名的贴图文件夹读取材质。
加载纹理集 -> Terrain Surface Material
文件夹: 文本
名称: 文本
分辨率: 文本
尺寸(米): 数字TerrainSurfaceMaterial LoadTextureSet(
string folder,
string id,
string resolution = "1k",
double sizeMetres = 2)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 文件夹 | 文本 | — | The folder holding the maps. |
| 名称 | 文本 | — | The set's name, the part of each file name before the map's. |
| 分辨率 | 文本 | 1k | The resolution in the file names: 1k, 2k, 4k. |
| 尺寸(米) | 数字 | 2 | The width in metres of the ground one copy of the texture shows; Poly Haven gives it on each set's page. |
返回
| 材质 | Terrain Surface Material |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
自然纹理设置
函数自然风格各角色的铺设位置,以米和度为单位。默认值适用于任何地貌。
自然纹理设置 -> Natural Terrain Settings
悬崖坡度(度): 数字
悬崖过渡(度): 数字
岩屑范围(米): 数字
裸露山顶半径(米): 数字
湿润岸地宽度(米): 数字
岸边宽度(米): 数字
雪线(米): 数字
变化尺度(米): 数字
坡度尺度(米): 数字
悬崖交由渲染器: 真否
种子: 整数NaturalTerrainSettings NaturalTexturingSettings(
double cliffSlopeDegrees = 38,
double cliffSoftnessDegrees = 6,
double talusReachMetres = 60,
double exposedTopRadiusMetres = 150,
double wetBankWidthMetres = 12,
double shoreWidthMetres = 4,
double snowLineMetres = double.NaN,
double variationMetres = 350,
double slopeScaleMetres = 4,
bool cliffsAtRender = true,
int seed = 1337)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 悬崖坡度(度) | 数字 | 38 | The slope at which ground gives way to cliff. |
| 悬崖过渡(度) | 数字 | 6 | How many degrees the change from ground to cliff takes. |
| 岩屑范围(米) | 数字 | 60 | How far below a cliff fallen rock reaches. |
| 裸露山顶半径(米) | 数字 | 150 | The size of the rises that count as exposed tops: a ridge or a plateau, not every rim. |
| 湿润岸地宽度(米) | 数字 | 12 | Width of the damp band along water. |
| 岸边宽度(米) | 数字 | 4 | Width of the washed stones at the water's edge. |
| 雪线(米) | 数字 | NaN | Elevation above which snow lies; NaN for the top fifth of the terrain's relief when the palette has snow. Higher than the terrain for none. |
| 变化尺度(米) | 数字 | 350 | Size of the large patches of ground variation. |
| 坡度尺度(米) | 数字 | 4 | The scale slope is judged at: the terrain is smoothed over this first, so cliffs are found as landforms and not as the noise of fine data. |
| 悬崖交由渲染器 | 真否 | True | Leave cliffs to a renderer that lays them from the side at full detail, as Render Terrain does; the images show them baked in either way. |
| 种子 | 整数 | 1337 | The seed of the patterns that break up each role. |
返回
| 设置 | Natural Terrain Settings |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
雨林地形调色板
函数温带雨林:树下的落叶与林地,岩石和高处的苔藓,长满苔藓的灰色岩壁,水边的河砾与卵石。
雨林地形调色板() -> Terrain Palette
TerrainPalette RainforestPalette()
返回
| 调色板 | Terrain Palette |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
沼泽地形调色板
函数沼泽:落叶下的泥地,较干高地上的草,水涨水落处裸露的湿泥与淤泥。没有岩石:沼泽是平的。
沼泽地形调色板() -> Terrain Palette
TerrainPalette SwampPalette()
返回
| 调色板 | Terrain Palette |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成
地形材质
函数由图像组成的材质:颜色、法线(OpenGL 约定,绿色朝上)、粗糙度、高度与环境光遮蔽中的任意几种。
地形材质 -> Terrain Surface Material
颜色: Pixel Image
法线: Pixel Image
粗糙度: Pixel Image
高度: Pixel Image
环境光遮蔽: Pixel Image
尺寸(米): 数字
名称: 文本TerrainSurfaceMaterial TerrainMaterial(
PixelImage albedo,
PixelImage normal,
PixelImage roughness,
PixelImage height,
PixelImage ambientOcclusion,
double sizeMetres = 2,
string name = "Material")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 颜色 | Pixel Image | — | Colour, sRGB. |
| 法线 | Pixel Image | — | Tangent-space normals, green up (Poly Haven's nor_gl, Blender); flip the green channel of a DirectX (nor_dx, Unreal) map first. |
| 粗糙度 | Pixel Image | — | Roughness, white rough. |
| 高度 | Pixel Image | — | Height or displacement, white high; it decides which material shows where two meet. |
| 环境光遮蔽 | Pixel Image | — | Ambient occlusion, white open. |
| 尺寸(米) | 数字 | 2 | The width in metres of the ground one copy of the texture shows. |
| 名称 | 文本 | Material | A name for the material. |
返回
| 材质 | Terrain Surface Material |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 地形表面
- 所属包
- 程序化生成