载入中...
搜索中...
未找到
TerrainSplatmap.h
浏览该文件的文档.
35 [[nodiscard]] Result<int> initialize(int width, int height, int layerCount, int defaultLayer = 0);
51 friend EVENGINE_API_DOMAINS Result<int> paintTerrainSplatLayer(TerrainSplatmap&, const Heightmap&, int);
52 friend EVENGINE_API_DOMAINS Result<int> applyGtsHeightBlend(TerrainSplatmap&, const TerrainSplatmap&,
54 friend EVENGINE_API_DOMAINS Result<int> alignTerrainSplatTextures(TerrainSplatmap&, TerrainSplatmap&,
57 const std::vector<struct TerrainSplatTile>&, const Heightmap&, int, const TerrainStampSettings&, bool,
83[[nodiscard]] EVENGINE_API_DOMAINS Result<int> alignTerrainSplatTextures(TerrainSplatmap& terrainA,
108 friend EVENGINE_API_DOMAINS Result<int> applyGtsHeightBlend(TerrainSplatmap&, const TerrainSplatmap&,
135[[nodiscard]] EVENGINE_API_DOMAINS Result<int> paintTerrainSplatLayer(TerrainSplatmap& target, const Heightmap& paint,
142[[nodiscard]] EVENGINE_API_DOMAINS Result<TerrainMultiTileReport> paintTerrainSplatLayerMultiTile(
165 [[nodiscard]] Result<int> addTile(const std::string& name, const TerrainSplatmap& splatmap, double originX,
Move-only, checked operation results for the common layer.
Owning ordered GTS layer-height rasters and their alpha-channel transforms.
Definition TerrainSplatmap.h:88
GtsHeightBlendSet(GtsHeightBlendSet &&) noexcept
Gts height blend set.
In-memory terrain heightmap: a dense float grid (row-major, index = y * width + x) materialized from ...
Definition Heightmap.h:21
Owning script-safe multi-terrain splat transaction and all-tile undo history. Input maps are copied....
Definition TerrainSplatmap.h:152
~TerrainMultiSplatWorkspace()
Terrain multi splat workspace.
TerrainMultiSplatWorkspace(TerrainMultiSplatWorkspace &&) noexcept
Terrain multi splat workspace.
Owning normalized terrain texture-layer weights with atomic mutation. Layers share one finite width/h...
Definition TerrainSplatmap.h:20
TerrainSplatmap(TerrainSplatmap &&) noexcept
Terrain splatmap.
Definition EvpackPointGraphLoader.h:12
Result< TerrainMultiTileReport > paintTerrainSplatLayerMultiTile(const std::vector< TerrainSplatTile > &tiles, const Heightmap &operationPaint, int targetLayer, const TerrainStampSettings &operationSettings, bool worldMapOperation, const std::vector< std::string > &validTerrainNames)
Paint one shared Pcg Texture-domain operation raster across selected tiles atomically.
Definition TerrainSplatmap.cpp:283
Result< int > paintTerrainSplatLayer(TerrainSplatmap &target, const Heightmap &paint, int targetLayer)
Replace one terrain layer with a normalized paint raster and proportionally renormalize all other lay...
Definition TerrainSplatmap.cpp:203
Result< int > alignTerrainSplatTextures(TerrainSplatmap &terrainA, TerrainSplatmap &terrainB, const TerrainTextureAlignSettings &settings)
Blend texture weights on adjacent terrain edges using Pcg's synchronized-noise equation.
Definition TerrainSplatmap.cpp:116
Definition Container.h:602
Completed multi-tile stamp statistics and Pcg-compatible affected-pixel mappings.
Definition TerrainMultiTile.h:55
Borrowed terrain splat owner and world geometry for one synchronous texture transaction.
Definition TerrainSplatmap.h:121
Value configuration for a rectangular stamp in world X/Z coordinates.
Definition TerrainStamp.h:22
World-space placement and Pcg-compatible seam blending controls for two splatmaps.
Definition TerrainSplatmap.h:62